Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001513/0.001513, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001954/0.001954, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.961 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.825/2.825, allocations: 476.7 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] 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_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",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.002088/0.002088, allocations: 67.67 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.352, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04853/0.4005, allocations: 36.82 MB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.4193, allocations: 10.34 MB / 1.329 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/0.4228, allocations: 190.6 kB / 1.33 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.4335, allocations: 3.983 MB / 1.334 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.44, allocations: 2.142 MB / 1.336 GB, free: 6.055 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.4459, allocations: 2.035 MB / 1.338 GB, free: 4.023 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.4569, allocations: 7.976 MB / 1.345 GB, free: 12.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.4691, allocations: 5.28 MB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006718/0.4759, allocations: 3.47 MB / 1.354 GB, free: 3.141 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00766/0.4835, allocations: 3.937 MB / 1.358 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002552/0.4861, allocations: 0.6836 MB / 1.358 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.4909, allocations: 1.463 MB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004831/0.4957, allocations: 2.689 MB / 1.362 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007493/0.5032, allocations: 3.101 MB / 1.366 GB, free: 7.234 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.5182, allocations: 10.42 MB / 1.376 GB, free: 12.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.5182, allocations: 4 kB / 1.376 GB, free: 12.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5182, allocations: 0 / 1.376 GB, free: 12.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003597/0.5186, allocations: 0 / 1.376 GB, free: 12.79 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01503/0.5336, allocations: 5.463 MB / 1.381 GB, free: 7.262 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5337, allocations: 8.031 kB / 1.381 GB, free: 7.254 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002122/0.5358, allocations: 0.6945 MB / 1.382 GB, free: 6.551 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/0.5414, allocations: 0.9928 MB / 1.383 GB, free: 5.555 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008182/0.5496, allocations: 3.128 MB / 1.386 GB, free: 2.363 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/0.55, allocations: 361.9 kB / 1.386 GB, free: 2.008 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.5516, allocations: 460.3 kB / 1.387 GB, free: 1.559 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.5719, allocations: 7.914 MB / 1.394 GB, free: 9.281 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002498/0.5722, allocations: 19.83 kB / 1.394 GB, free: 9.262 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/0.5739, allocations: 216 kB / 1.394 GB, free: 9.051 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007038/0.5746, allocations: 369.1 kB / 1.395 GB, free: 8.688 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.5887, allocations: 5.937 MB / 1.401 GB, free: 2.734 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04697/0.6357, allocations: 35.69 MB / 1.435 GB, free: 11.8 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.6395, allocations: 1.998 MB / 1.437 GB, free: 9.789 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.6417, allocations: 1.333 MB / 1.439 GB, free: 8.457 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.6418, allocations: 17.31 kB / 1.439 GB, free: 8.438 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.6419, allocations: 55.81 kB / 1.439 GB, free: 8.375 MB / 1.139 GB Notification: Performance of pre-optimization done (n=157): time 3.778e-06/0.6419, allocations: 0 / 1.439 GB, free: 8.375 MB / 1.139 GB Notification: Performance of matching and sorting (n=160): time 0.01505/0.6569, allocations: 6.671 MB / 1.445 GB, free: 1.656 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.657, allocations: 68.72 kB / 1.445 GB, free: 1.578 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.6604, allocations: 1.864 MB / 1.447 GB, free: 15.69 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.6607, allocations: 53.7 kB / 1.447 GB, free: 15.63 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001834/0.6625, allocations: 2.196 MB / 1.449 GB, free: 13.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000721/0.6632, allocations: 0.5732 MB / 1.45 GB, free: 12.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008697/0.6641, allocations: 411.9 kB / 1.45 GB, free: 12.43 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6642, allocations: 305.1 kB / 1.451 GB, free: 12.12 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.666, allocations: 1.058 MB / 1.452 GB, free: 11.06 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.6685, allocations: 1.76 MB / 1.453 GB, free: 8.98 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/0.6731, allocations: 3.049 MB / 1.456 GB, free: 5.621 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/0.6731, allocations: 8 kB / 1.456 GB, free: 5.613 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007988/0.6811, allocations: 3.906 MB / 1.46 GB, free: 1.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.6812, allocations: 16 kB / 1.46 GB, free: 1.645 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/0.6812, allocations: 20.91 kB / 1.46 GB, free: 1.625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.6838, allocations: 0.9311 MB / 1.461 GB, free: 0.6562 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.6854, allocations: 431.2 kB / 1.462 GB, free: 240 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/0.7093, allocations: 21.53 MB / 1.483 GB, free: 9.324 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.7115, allocations: 136 kB / 1.483 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004314/0.7119, allocations: 92 kB / 1.483 GB, free: 9.102 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003781/0.7157, allocations: 1.652 MB / 1.484 GB, free: 7.438 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008215/0.7165, allocations: 266.4 kB / 1.485 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006433/0.723, allocations: 3.24 MB / 1.488 GB, free: 3.887 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.723, allocations: 23.94 kB / 1.488 GB, free: 3.863 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.145e-05/0.723, allocations: 11.94 kB / 1.488 GB, free: 3.852 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.723, allocations: 11.97 kB / 1.488 GB, free: 3.84 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.7388, allocations: 7.505 MB / 1.495 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7388, allocations: 4 kB / 1.495 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.7397, allocations: 219.6 kB / 1.495 GB, free: 11.97 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.7422, allocations: 0.893 MB / 1.496 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.7423, allocations: 32 kB / 1.496 GB, free: 11.01 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/0.7656, allocations: 21.51 MB / 1.517 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.7656, allocations: 4 kB / 1.517 GB, free: 4.121 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.7723, allocations: 3.369 MB / 1.521 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/0.774, allocations: 482.1 kB / 1.521 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006791/0.7747, allocations: 39.86 kB / 1.521 GB, free: 132 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.7762, allocations: 92.08 kB / 1.521 GB, free: 40 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/0.7767, allocations: 144.9 kB / 1.521 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.7768, allocations: 52 kB / 1.521 GB, free: 15.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002485/0.7793, allocations: 1.225 MB / 1.523 GB, free: 14.61 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7793, allocations: 4 kB / 1.523 GB, free: 14.6 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003614/0.7829, allocations: 0.9062 MB / 1.523 GB, free: 13.7 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006436/0.7893, allocations: 3.969 MB / 1.527 GB, free: 9.609 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007147/0.7965, allocations: 4.283 MB / 1.532 GB, free: 5.176 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.7965, allocations: 7.938 kB / 1.532 GB, free: 5.168 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004573/0.8011, allocations: 2.903 MB / 1.534 GB, free: 2.109 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/0.8052, allocations: 0.8376 MB / 1.535 GB, free: 1.281 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05014/0.8553, allocations: 25.23 MB / 1.56 GB, free: 6.953 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005123/0.8605, allocations: 3.205 MB / 1.563 GB, free: 3.715 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002194/0.8626, allocations: 0.5332 MB / 1.563 GB, free: 3.176 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/0.8651, allocations: 1.651 MB / 1.565 GB, free: 1.523 MB / 1.264 GB Notification: Performance of SimCode: time 1.302e-06/0.8651, allocations: 0 / 1.565 GB, free: 1.523 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8634/1.729, allocations: 72.62 MB / 1.636 GB, free: 304.8 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/17.88, allocations: 3.938 kB / 1.636 GB, free: 304.8 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.974300091154873]