Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 117.3 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9863/0.9885, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04482/1.033, allocations: 31.27 MB / 1.309 GB, free: 6.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03093/1.064, allocations: 13.75 MB / 1.323 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006584/1.071, allocations: 190.4 kB / 1.323 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01067/1.082, allocations: 3.243 MB / 1.326 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/1.092, allocations: 2.757 MB / 1.329 GB, free: 9.266 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006971/1.099, allocations: 2.023 MB / 1.331 GB, free: 7.922 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0124/1.112, allocations: 7.61 MB / 1.338 GB, free: 3.598 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/1.125, allocations: 6.145 MB / 1.344 GB, free: 0.5508 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008538/1.134, allocations: 3.516 MB / 1.348 GB, free: 14.62 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009195/1.143, allocations: 3.563 MB / 1.351 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002854/1.146, allocations: 0.5958 MB / 1.352 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007486/1.153, allocations: 1.523 MB / 1.353 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005539/1.159, allocations: 2.423 MB / 1.356 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008712/1.167, allocations: 2.881 MB / 1.359 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01945/1.187, allocations: 9.487 MB / 1.368 GB, free: 1.219 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.187, allocations: 4 kB / 1.368 GB, free: 1.215 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.094e-06/1.187, allocations: 4 kB / 1.368 GB, free: 1.211 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004264/1.187, allocations: 0 / 1.368 GB, free: 1.211 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01615/1.203, allocations: 5.27 MB / 1.373 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.203, allocations: 12.03 kB / 1.373 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001374/1.204, allocations: 112.7 kB / 1.373 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001216/1.205, allocations: 0.6203 MB / 1.374 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/1.211, allocations: 1.02 MB / 1.375 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006297/1.217, allocations: 3.097 MB / 1.378 GB, free: 6.895 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/1.217, allocations: 320.6 kB / 1.378 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008756/1.218, allocations: 415.9 kB / 1.378 GB, free: 6.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/1.233, allocations: 6.791 MB / 1.385 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/1.233, allocations: 23.81 kB / 1.385 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006286/1.234, allocations: 184 kB / 1.385 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/1.235, allocations: 372 kB / 1.386 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/1.247, allocations: 5.11 MB / 1.391 GB, free: 9.387 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04308/1.29, allocations: 30.57 MB / 1.42 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/1.292, allocations: 1.321 MB / 1.422 GB, free: 6.727 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.294, allocations: 1.24 MB / 1.423 GB, free: 5.488 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.585e-05/1.294, allocations: 17.3 kB / 1.423 GB, free: 5.473 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/1.294, allocations: 51.88 kB / 1.423 GB, free: 5.414 MB / 1.107 GB Notification: Performance of pre-optimization done (n=130): time 2.685e-06/1.294, allocations: 0 / 1.423 GB, free: 5.414 MB / 1.107 GB Notification: Performance of matching and sorting (n=199): time 0.09363/1.388, allocations: 23.07 MB / 1.446 GB, free: 14.23 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/1.388, allocations: 73.41 kB / 1.446 GB, free: 14.14 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/1.391, allocations: 2.062 MB / 1.448 GB, free: 12.06 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002965/1.391, allocations: 61.7 kB / 1.448 GB, free: 12 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.393, allocations: 2.063 MB / 1.45 GB, free: 9.914 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/1.394, allocations: 0.7165 MB / 1.45 GB, free: 9.191 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007872/1.394, allocations: 408.4 kB / 1.451 GB, free: 8.785 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.395, allocations: 313 kB / 1.451 GB, free: 8.477 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/1.397, allocations: 1.43 MB / 1.452 GB, free: 7.043 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/1.4, allocations: 2.017 MB / 1.454 GB, free: 4.777 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005414/1.405, allocations: 3.688 MB / 1.458 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/1.405, allocations: 4 kB / 1.458 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01194/1.417, allocations: 5.604 MB / 1.464 GB, free: 11.17 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/1.417, allocations: 12 kB / 1.464 GB, free: 11.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/1.417, allocations: 16 kB / 1.464 GB, free: 11.14 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/1.425, allocations: 2.084 MB / 1.466 GB, free: 9.004 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/1.426, allocations: 383.4 kB / 1.466 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04448/1.471, allocations: 38.46 MB / 1.503 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/1.474, allocations: 135.8 kB / 1.504 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003444/1.474, allocations: 91.98 kB / 1.504 GB, free: 15.42 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003541/1.478, allocations: 1.505 MB / 1.505 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/1.478, allocations: 302.2 kB / 1.505 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.49, allocations: 5.141 MB / 1.51 GB, free: 8.391 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/1.49, allocations: 20 kB / 1.511 GB, free: 8.371 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.149e-05/1.49, allocations: 16 kB / 1.511 GB, free: 8.355 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.49, allocations: 11.95 kB / 1.511 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.509, allocations: 9.611 MB / 1.52 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.509, allocations: 8.156 kB / 1.52 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/1.51, allocations: 219.6 kB / 1.52 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006525/1.517, allocations: 1.834 MB / 1.522 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/1.517, allocations: 44 kB / 1.522 GB, free: 12.37 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04259/1.56, allocations: 37.46 MB / 1.559 GB, free: 4.379 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.56, allocations: 11.94 kB / 1.559 GB, free: 4.367 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.57, allocations: 4.86 MB / 1.563 GB, free: 15.35 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/1.572, allocations: 0.6279 MB / 1.564 GB, free: 14.7 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/1.572, allocations: 39.94 kB / 1.564 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.574, allocations: 131.8 kB / 1.564 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007481/1.574, allocations: 193.5 kB / 1.564 GB, free: 14.34 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.575, allocations: 60 kB / 1.564 GB, free: 14.28 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002162/1.577, allocations: 1.374 MB / 1.566 GB, free: 12.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.577, allocations: 4 kB / 1.566 GB, free: 12.89 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004434/1.581, allocations: 1.051 MB / 1.567 GB, free: 11.84 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01009/1.591, allocations: 5.482 MB / 1.572 GB, free: 6.195 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.603, allocations: 6.002 MB / 1.578 GB, free: 15.96 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/1.603, allocations: 0 / 1.578 GB, free: 15.96 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007864/1.61, allocations: 4.289 MB / 1.582 GB, free: 11.44 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004875/1.615, allocations: 0.9933 MB / 1.583 GB, free: 10.48 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05795/1.673, allocations: 30.66 MB / 1.613 GB, free: 10.76 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004342/1.678, allocations: 3.121 MB / 1.616 GB, free: 7.605 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002007/1.68, allocations: 0.5276 MB / 1.617 GB, free: 7.074 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002324/1.682, allocations: 1.667 MB / 1.618 GB, free: 5.406 MB / 1.311 GB Notification: Performance of SimCode: time 1.683e-06/1.682, allocations: 0 / 1.618 GB, free: 5.406 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/1.913, allocations: 88.77 MB / 1.705 GB, free: 13.78 MB / 1.404 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.93, allocations: 13.12 kB / 1.705 GB, free: 13.77 MB / 1.404 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.4771835039719]