Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001801/0.001801, 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.002417/0.002417, allocations: 218.3 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.781 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.203/3.203, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002037/0.002037, allocations: 65.7 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01727/0.3497, allocations: 13.3 MB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.3647, allocations: 9.143 MB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.3665, allocations: 87.19 kB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005121/0.3716, allocations: 1.674 MB / 1.349 GB, free: 9.184 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.3771, allocations: 1.585 MB / 1.351 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.3793, allocations: 0.764 MB / 1.352 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004714/0.384, allocations: 2.524 MB / 1.354 GB, free: 4.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.3865, allocations: 1.196 MB / 1.355 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00253/0.389, allocations: 1.207 MB / 1.357 GB, free: 1.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.3912, allocations: 1.132 MB / 1.358 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.3915, allocations: 160 kB / 1.358 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.3933, allocations: 0.7291 MB / 1.359 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006844/0.3939, allocations: 0.6269 MB / 1.359 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.3949, allocations: 0.7582 MB / 1.36 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.3983, allocations: 2.755 MB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3983, allocations: 0 / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3983, allocations: 0 / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.3983, allocations: 0 / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004159/0.4025, allocations: 2.108 MB / 1.365 GB, free: 9.523 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.4025, allocations: 8.031 kB / 1.365 GB, free: 9.516 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000256/0.4028, allocations: 198.3 kB / 1.365 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4141, allocations: 2.094 MB / 1.367 GB, free: 7.215 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/0.4169, allocations: 1.173 MB / 1.368 GB, free: 5.992 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.417, allocations: 86.73 kB / 1.368 GB, free: 5.906 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.4173, allocations: 127.9 kB / 1.368 GB, free: 5.781 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006233/0.4235, allocations: 2.889 MB / 1.371 GB, free: 2.695 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.4235, allocations: 7.938 kB / 1.371 GB, free: 2.688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.4237, allocations: 59.97 kB / 1.371 GB, free: 2.629 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/0.4243, allocations: 182.1 kB / 1.371 GB, free: 2.449 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007513/0.4318, allocations: 2.791 MB / 1.374 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.4477, allocations: 8.325 MB / 1.382 GB, free: 7.148 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006603/0.4543, allocations: 2.22 MB / 1.384 GB, free: 4.922 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.4574, allocations: 1.218 MB / 1.386 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.542e-05/0.4575, allocations: 13 kB / 1.386 GB, free: 3.688 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.4575, allocations: 43.56 kB / 1.386 GB, free: 3.637 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.875e-06/0.4575, allocations: 7.875 kB / 1.386 GB, free: 3.629 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.04655/0.5041, allocations: 12.67 MB / 1.398 GB, free: 6.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.5042, allocations: 64.72 kB / 1.398 GB, free: 6.836 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5058, allocations: 1.125 MB / 1.399 GB, free: 5.695 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.506, allocations: 45.7 kB / 1.399 GB, free: 5.645 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/0.5066, allocations: 0.7364 MB / 1.4 GB, free: 4.902 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.5071, allocations: 468 kB / 1.4 GB, free: 4.441 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005427/0.5077, allocations: 267.5 kB / 1.401 GB, free: 4.172 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5079, allocations: 361.9 kB / 1.401 GB, free: 3.812 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.5112, allocations: 1.343 MB / 1.402 GB, free: 2.469 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/0.5147, allocations: 1.604 MB / 1.404 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007177/0.5218, allocations: 2.991 MB / 1.407 GB, free: 13.68 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.5218, allocations: 7.938 kB / 1.407 GB, free: 13.67 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0119/0.5338, allocations: 4.401 MB / 1.411 GB, free: 9.219 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.5338, allocations: 8 kB / 1.411 GB, free: 9.211 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.5338, allocations: 8 kB / 1.411 GB, free: 9.203 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/0.5396, allocations: 1.431 MB / 1.412 GB, free: 7.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.5417, allocations: 439.2 kB / 1.413 GB, free: 7.301 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02941/0.5711, allocations: 25.1 MB / 1.437 GB, free: 12.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/0.5737, allocations: 311.5 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.5739, allocations: 64.14 kB / 1.438 GB, free: 12.34 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008439/0.5748, allocations: 433.5 kB / 1.438 GB, free: 11.9 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.5751, allocations: 171 kB / 1.438 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.5869, allocations: 4.41 MB / 1.443 GB, free: 7.273 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.5869, allocations: 12 kB / 1.443 GB, free: 7.262 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-05/0.587, allocations: 16 kB / 1.443 GB, free: 7.246 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.587, allocations: 8.156 kB / 1.443 GB, free: 7.238 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.6027, allocations: 6.284 MB / 1.449 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.6027, allocations: 12.28 kB / 1.449 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/0.6046, allocations: 383.3 kB / 1.449 GB, free: 444 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005233/0.6098, allocations: 1.306 MB / 1.45 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/0.61, allocations: 39.97 kB / 1.45 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02754/0.6376, allocations: 23.97 MB / 1.474 GB, free: 5.586 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.6376, allocations: 3.938 kB / 1.474 GB, free: 5.582 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/0.6486, allocations: 4.164 MB / 1.478 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.6499, allocations: 394.7 kB / 1.478 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.6502, allocations: 24 kB / 1.478 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.6522, allocations: 307.7 kB / 1.479 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/0.6526, allocations: 136.6 kB / 1.479 GB, free: 488 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.6528, allocations: 51.97 kB / 1.479 GB, free: 436 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001083/0.6539, allocations: 0.7564 MB / 1.48 GB, free: 15.67 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6539, allocations: 0 / 1.48 GB, free: 15.67 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001947/0.6558, allocations: 0.5703 MB / 1.48 GB, free: 15.1 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01139/0.6672, allocations: 4.74 MB / 1.485 GB, free: 10.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.6784, allocations: 4.974 MB / 1.49 GB, free: 5.109 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.6784, allocations: 0 / 1.49 GB, free: 5.109 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007276/0.6857, allocations: 3.421 MB / 1.493 GB, free: 1.516 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.6882, allocations: 0.5467 MB / 1.493 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04499/0.7332, allocations: 19.35 MB / 1.512 GB, free: 13.19 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.7344, allocations: 0.8873 MB / 1.513 GB, free: 12.27 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001701/0.7361, allocations: 429.6 kB / 1.514 GB, free: 11.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.7371, allocations: 0.6242 MB / 1.514 GB, free: 11.21 MB / 1.217 GB Notification: Performance of SimCode: time 1.533e-06/0.7371, allocations: 0 / 1.514 GB, free: 11.21 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/0.8739, allocations: 56.91 MB / 1.57 GB, free: 3.266 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.85, allocations: 2.234 kB / 1.57 GB, free: 3.266 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 20.619306926993886]