Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002335/0.002335, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 65.97 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04048/0.3657, allocations: 33.84 MB / 1.337 GB, free: 15.55 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.3904, allocations: 14.97 MB / 1.352 GB, free: 0.543 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/0.3937, allocations: 155.2 kB / 1.352 GB, free: 400 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.4037, allocations: 3.719 MB / 1.355 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008685/0.4124, allocations: 2.988 MB / 1.358 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006498/0.4189, allocations: 2.336 MB / 1.361 GB, free: 7.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.4317, allocations: 8.809 MB / 1.369 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.443, allocations: 7.219 MB / 1.376 GB, free: 7.141 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006972/0.45, allocations: 4.02 MB / 1.38 GB, free: 3.109 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007342/0.4573, allocations: 4.26 MB / 1.384 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002258/0.4596, allocations: 0.7148 MB / 1.385 GB, free: 14.12 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004982/0.4646, allocations: 1.748 MB / 1.387 GB, free: 12.37 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004742/0.4693, allocations: 2.903 MB / 1.39 GB, free: 9.461 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006945/0.4763, allocations: 3.384 MB / 1.393 GB, free: 6.062 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.4931, allocations: 11.22 MB / 1.404 GB, free: 10.8 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.4931, allocations: 0 / 1.404 GB, free: 10.8 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4931, allocations: 0 / 1.404 GB, free: 10.8 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003461/0.4935, allocations: 0 / 1.404 GB, free: 10.8 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01491/0.5084, allocations: 6.132 MB / 1.41 GB, free: 4.582 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.5084, allocations: 8.625 kB / 1.41 GB, free: 4.574 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001607/0.51, allocations: 0.7271 MB / 1.411 GB, free: 3.836 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007425/0.5175, allocations: 1.168 MB / 1.412 GB, free: 2.664 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009751/0.5272, allocations: 3.545 MB / 1.415 GB, free: 15.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/0.5276, allocations: 370.4 kB / 1.416 GB, free: 14.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001904/0.5295, allocations: 499.9 kB / 1.416 GB, free: 14.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.5475, allocations: 8.005 MB / 1.424 GB, free: 5.906 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.5477, allocations: 23.83 kB / 1.424 GB, free: 5.883 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006775/0.5484, allocations: 216 kB / 1.424 GB, free: 5.672 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001094/0.5494, allocations: 441.5 kB / 1.424 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.5612, allocations: 6.081 MB / 1.43 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04581/0.607, allocations: 34.96 MB / 1.465 GB, free: 9.016 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.6101, allocations: 1.909 MB / 1.466 GB, free: 7.098 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/0.6128, allocations: 1.756 MB / 1.468 GB, free: 5.352 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.6129, allocations: 18 kB / 1.468 GB, free: 5.332 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.327e-05/0.613, allocations: 56.5 kB / 1.468 GB, free: 5.27 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 6.382e-06/0.613, allocations: 0 / 1.468 GB, free: 5.27 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1457/0.7587, allocations: 38.86 MB / 1.506 GB, free: 14.31 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.7588, allocations: 81.58 kB / 1.506 GB, free: 14.21 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/0.7622, allocations: 2.29 MB / 1.508 GB, free: 11.91 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/0.7624, allocations: 69.7 kB / 1.509 GB, free: 11.84 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.7641, allocations: 2.345 MB / 1.511 GB, free: 9.469 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009308/0.7651, allocations: 0.976 MB / 1.512 GB, free: 8.484 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009369/0.766, allocations: 0.5063 MB / 1.512 GB, free: 7.969 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7661, allocations: 305.1 kB / 1.513 GB, free: 7.668 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002925/0.7691, allocations: 1.973 MB / 1.514 GB, free: 5.691 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/0.7725, allocations: 2.602 MB / 1.517 GB, free: 2.848 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007078/0.7796, allocations: 4.925 MB / 1.522 GB, free: 13.64 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.7796, allocations: 4 kB / 1.522 GB, free: 13.64 MB / 1.232 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01516/0.7948, allocations: 7.649 MB / 1.529 GB, free: 5.922 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.7948, allocations: 12 kB / 1.529 GB, free: 5.91 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.7948, allocations: 16.91 kB / 1.529 GB, free: 5.895 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009327/0.8042, allocations: 3.222 MB / 1.532 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.8058, allocations: 407.1 kB / 1.533 GB, free: 2.262 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04758/0.8534, allocations: 33.91 MB / 1.566 GB, free: 15.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.8562, allocations: 155.8 kB / 1.566 GB, free: 15.35 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/0.8566, allocations: 119.9 kB / 1.566 GB, free: 15.23 MB / 1.279 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00324/0.8598, allocations: 1.793 MB / 1.568 GB, free: 13.43 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007836/0.8606, allocations: 349.8 kB / 1.568 GB, free: 13.09 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.8749, allocations: 7.236 MB / 1.575 GB, free: 5.77 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.8749, allocations: 31.94 kB / 1.575 GB, free: 5.738 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/0.875, allocations: 28.25 kB / 1.575 GB, free: 5.711 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/0.875, allocations: 11.95 kB / 1.575 GB, free: 5.699 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/0.9009, allocations: 12.82 MB / 1.588 GB, free: 8.707 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.901, allocations: 8 kB / 1.588 GB, free: 8.699 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.9021, allocations: 227.6 kB / 1.588 GB, free: 8.477 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008211/0.9103, allocations: 2.849 MB / 1.591 GB, free: 5.609 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/0.9106, allocations: 48 kB / 1.591 GB, free: 5.562 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7144/1.625, allocations: 32.69 MB / 1.623 GB, free: 278.1 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-05/1.625, allocations: 11.61 kB / 1.623 GB, free: 278.1 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.638, allocations: 6.784 MB / 1.63 GB, free: 276.2 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.64, allocations: 0.7981 MB / 1.63 GB, free: 275.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005717/1.641, allocations: 55.39 kB / 1.63 GB, free: 275.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.642, allocations: 167.7 kB / 1.631 GB, free: 275.8 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008099/1.643, allocations: 257.4 kB / 1.631 GB, free: 275.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.643, allocations: 74.06 kB / 1.631 GB, free: 275.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002172/1.645, allocations: 1.527 MB / 1.632 GB, free: 275.1 MB / 1.311 GB Notification: Performance of sort global known variables: time 6e-08/1.645, allocations: 0 / 1.632 GB, free: 275.1 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003958/1.649, allocations: 1.368 MB / 1.634 GB, free: 275 MB / 1.311 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/1.662, allocations: 7.409 MB / 1.641 GB, free: 271.7 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.009812/1.672, allocations: 6.573 MB / 1.647 GB, free: 268.8 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.672, allocations: 0 / 1.647 GB, free: 268.8 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.006384/1.678, allocations: 4.25 MB / 1.652 GB, free: 266.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004177/1.682, allocations: 1.113 MB / 1.653 GB, free: 266.4 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05099/1.733, allocations: 38.95 MB / 1.691 GB, free: 237.5 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.736, allocations: 3.645 MB / 1.694 GB, free: 233.8 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001717/1.738, allocations: 0.5558 MB / 1.695 GB, free: 233.3 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.74, allocations: 1.972 MB / 1.697 GB, free: 231.3 MB / 1.311 GB Notification: Performance of SimCode: time 1.493e-06/1.74, allocations: 0 / 1.697 GB, free: 231.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1586/1.898, allocations: 112.4 MB / 1.806 GB, free: 120.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/18.45, allocations: 3.938 kB / 1.806 GB, free: 120.3 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 25.617104802280664]