Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001658/0.001658, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001438/0.001438, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.072/3.072, allocations: 0.49 GB / 0.7951 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00196/0.00196, allocations: 61.33 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04335/0.3433, allocations: 33.68 MB / 1.359 GB, free: 15.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.3613, allocations: 10.03 MB / 1.369 GB, free: 5.633 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.3642, allocations: 190.6 kB / 1.369 GB, free: 5.445 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.3744, allocations: 3.824 MB / 1.372 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.3799, allocations: 2.142 MB / 1.375 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.3845, allocations: 1.97 MB / 1.376 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009907/0.3944, allocations: 7.964 MB / 1.384 GB, free: 5.504 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008167/0.4026, allocations: 5.284 MB / 1.389 GB, free: 100 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005834/0.4084, allocations: 3.498 MB / 1.393 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006829/0.4153, allocations: 3.929 MB / 1.397 GB, free: 8.648 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.417, allocations: 0.6797 MB / 1.397 GB, free: 7.969 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003636/0.4206, allocations: 1.365 MB / 1.399 GB, free: 6.602 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004441/0.4251, allocations: 2.689 MB / 1.401 GB, free: 3.906 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005608/0.4307, allocations: 2.514 MB / 1.404 GB, free: 1.383 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.4439, allocations: 10.47 MB / 1.414 GB, free: 6.883 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4439, allocations: 0 / 1.414 GB, free: 6.883 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4439, allocations: 0 / 1.414 GB, free: 6.883 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002681/0.4442, allocations: 0 / 1.414 GB, free: 6.883 MB / 1.107 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.01174/0.4559, allocations: 5.457 MB / 1.419 GB, free: 1.367 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.456, allocations: 8.031 kB / 1.419 GB, free: 1.359 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.457, allocations: 0.7062 MB / 1.42 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.4615, allocations: 0.9967 MB / 1.421 GB, free: 15.64 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006782/0.4683, allocations: 3.128 MB / 1.424 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.4686, allocations: 353.9 kB / 1.424 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008134/0.4694, allocations: 468.3 kB / 1.425 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.4843, allocations: 8.671 MB / 1.433 GB, free: 2.426 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.4844, allocations: 27.77 kB / 1.433 GB, free: 2.398 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005464/0.485, allocations: 212 kB / 1.434 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005314/0.4855, allocations: 365.1 kB / 1.434 GB, free: 1.832 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.4963, allocations: 5.93 MB / 1.44 GB, free: 11.88 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03551/0.5318, allocations: 23.74 MB / 1.463 GB, free: 3.465 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.5351, allocations: 1.987 MB / 1.465 GB, free: 1.461 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.537, allocations: 1.345 MB / 1.466 GB, free: 124 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.152e-05/0.5371, allocations: 13.31 kB / 1.466 GB, free: 108 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.5372, allocations: 59.81 kB / 1.466 GB, free: 40 kB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.567e-06/0.5372, allocations: 0 / 1.466 GB, free: 40 kB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01362/0.5508, allocations: 6.655 MB / 1.473 GB, free: 9.336 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.5508, allocations: 68.72 kB / 1.473 GB, free: 9.258 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.5535, allocations: 1.911 MB / 1.475 GB, free: 7.32 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.5537, allocations: 57.7 kB / 1.475 GB, free: 7.258 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/0.5553, allocations: 2.188 MB / 1.477 GB, free: 5.055 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005544/0.5559, allocations: 0.5809 MB / 1.477 GB, free: 4.469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006443/0.5565, allocations: 404 kB / 1.478 GB, free: 4.066 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5567, allocations: 309 kB / 1.478 GB, free: 3.762 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.5583, allocations: 1.058 MB / 1.479 GB, free: 2.699 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.5605, allocations: 1.764 MB / 1.481 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.5647, allocations: 3.045 MB / 1.484 GB, free: 13.26 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.5647, allocations: 8 kB / 1.484 GB, free: 13.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006966/0.5717, allocations: 3.906 MB / 1.488 GB, free: 9.297 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.5717, allocations: 19.94 kB / 1.488 GB, free: 9.277 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.5718, allocations: 24 kB / 1.488 GB, free: 9.254 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/0.5744, allocations: 0.9397 MB / 1.489 GB, free: 8.277 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.5759, allocations: 431.2 kB / 1.489 GB, free: 7.855 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.5984, allocations: 21.38 MB / 1.51 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.6003, allocations: 119.9 kB / 1.51 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.6006, allocations: 96 kB / 1.51 GB, free: 0.8867 MB / 1.201 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.002638/0.6032, allocations: 1.655 MB / 1.512 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/0.6037, allocations: 270.4 kB / 1.512 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005767/0.6094, allocations: 3.229 MB / 1.515 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.6095, allocations: 20 kB / 1.515 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.6095, allocations: 8 kB / 1.515 GB, free: 11.65 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.6095, allocations: 7.969 kB / 1.515 GB, free: 11.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.6222, allocations: 7.166 MB / 1.522 GB, free: 4.328 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6222, allocations: 8.062 kB / 1.522 GB, free: 4.32 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009363/0.6231, allocations: 215.6 kB / 1.522 GB, free: 4.109 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002525/0.6257, allocations: 0.8925 MB / 1.523 GB, free: 3.18 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.6258, allocations: 32 kB / 1.523 GB, free: 3.148 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02238/0.6482, allocations: 21.35 MB / 1.544 GB, free: 12.42 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.6482, allocations: 7.984 kB / 1.544 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/0.6542, allocations: 3.361 MB / 1.547 GB, free: 8.941 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.6558, allocations: 474.2 kB / 1.548 GB, free: 8.477 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.6561, allocations: 35.94 kB / 1.548 GB, free: 8.441 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6573, allocations: 95.89 kB / 1.548 GB, free: 8.348 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/0.6577, allocations: 148.9 kB / 1.548 GB, free: 8.199 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.6578, allocations: 44 kB / 1.548 GB, free: 8.156 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001853/0.6596, allocations: 1.229 MB / 1.549 GB, free: 6.914 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.6596, allocations: 0 / 1.549 GB, free: 6.914 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002825/0.6625, allocations: 0.9062 MB / 1.55 GB, free: 6.008 MB / 1.248 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.005882/0.6684, allocations: 3.962 MB / 1.554 GB, free: 1.926 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006821/0.6752, allocations: 4.299 MB / 1.558 GB, free: 13.47 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.6752, allocations: 4 kB / 1.558 GB, free: 13.47 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004465/0.6797, allocations: 2.909 MB / 1.561 GB, free: 10.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.6831, allocations: 0.8252 MB / 1.562 GB, free: 9.586 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04026/0.7234, allocations: 25.24 MB / 1.587 GB, free: 15.25 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003657/0.727, allocations: 2.657 MB / 1.589 GB, free: 12.56 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00173/0.7288, allocations: 0.5331 MB / 1.59 GB, free: 12.02 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/0.7308, allocations: 1.655 MB / 1.591 GB, free: 10.36 MB / 1.295 GB Notification: Performance of SimCode: time 1.302e-06/0.7308, allocations: 0 / 1.591 GB, free: 10.36 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7052/1.436, allocations: 75.87 MB / 1.665 GB, free: 225.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.71, allocations: 6.375 kB / 1.665 GB, free: 225.5 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.597979508020217]