Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001571/0.001571, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001926/0.001926, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.06/3.06, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.003299/0.003299, allocations: 74.22 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.356, allocations: 176.1 MB / 1.327 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04156/0.3975, allocations: 31.67 MB / 1.358 GB, free: 1.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.423, allocations: 14.43 MB / 1.372 GB, free: 3.293 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004146/0.4272, allocations: 202.4 kB / 1.372 GB, free: 3.094 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.4376, allocations: 3.671 MB / 1.375 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008413/0.446, allocations: 2.968 MB / 1.378 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00658/0.4526, allocations: 2.34 MB / 1.381 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01235/0.465, allocations: 8.812 MB / 1.389 GB, free: 1.242 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.4757, allocations: 5.553 MB / 1.395 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007616/0.4833, allocations: 4.078 MB / 1.399 GB, free: 7.477 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00856/0.4919, allocations: 4.268 MB / 1.403 GB, free: 3.195 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002346/0.4942, allocations: 0.7187 MB / 1.403 GB, free: 2.477 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00481/0.4991, allocations: 1.619 MB / 1.405 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00478/0.5038, allocations: 2.907 MB / 1.408 GB, free: 13.94 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006683/0.5105, allocations: 2.755 MB / 1.411 GB, free: 11.18 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.5279, allocations: 11.28 MB / 1.422 GB, free: 15.86 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.5279, allocations: 0 / 1.422 GB, free: 15.86 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.565e-06/0.5279, allocations: 0 / 1.422 GB, free: 15.86 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004179/0.5283, allocations: 4 kB / 1.422 GB, free: 15.86 MB / 1.123 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.01751/0.5458, allocations: 6.05 MB / 1.428 GB, free: 9.742 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5458, allocations: 12.03 kB / 1.428 GB, free: 9.73 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001655/0.546, allocations: 130.2 kB / 1.428 GB, free: 9.602 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002509/0.5485, allocations: 0.7232 MB / 1.428 GB, free: 8.867 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008298/0.5568, allocations: 1.172 MB / 1.429 GB, free: 7.691 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009798/0.5666, allocations: 3.466 MB / 1.433 GB, free: 4.137 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004905/0.5671, allocations: 382.2 kB / 1.433 GB, free: 3.762 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/0.5692, allocations: 491.9 kB / 1.434 GB, free: 3.281 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.591, allocations: 8.866 MB / 1.442 GB, free: 9.93 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003158/0.5913, allocations: 23.81 kB / 1.442 GB, free: 9.906 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001822/0.5931, allocations: 216 kB / 1.443 GB, free: 9.695 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.5944, allocations: 437.6 kB / 1.443 GB, free: 9.266 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.61, allocations: 6.081 MB / 1.449 GB, free: 3.172 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04246/0.6525, allocations: 22.06 MB / 1.471 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.6557, allocations: 1.912 MB / 1.472 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.6587, allocations: 1.752 MB / 1.474 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.6588, allocations: 18 kB / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.6589, allocations: 56.5 kB / 1.474 GB, free: 8.875 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.198e-06/0.6589, allocations: 3.938 kB / 1.474 GB, free: 8.871 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1493/0.8081, allocations: 38.71 MB / 1.512 GB, free: 2.113 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.8082, allocations: 81.58 kB / 1.512 GB, free: 2.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.8123, allocations: 2.27 MB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/0.8127, allocations: 73.7 kB / 1.514 GB, free: 15.65 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.8146, allocations: 2.342 MB / 1.517 GB, free: 13.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/0.8158, allocations: 0.9837 MB / 1.518 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.8168, allocations: 0.5063 MB / 1.518 GB, free: 11.79 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.817, allocations: 305.1 kB / 1.518 GB, free: 11.48 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/0.82, allocations: 1.977 MB / 1.52 GB, free: 9.504 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.8236, allocations: 2.606 MB / 1.523 GB, free: 6.648 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007198/0.8308, allocations: 4.925 MB / 1.528 GB, free: 1.449 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.8308, allocations: 11.94 kB / 1.528 GB, free: 1.438 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0154/0.8462, allocations: 7.646 MB / 1.535 GB, free: 9.719 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.8462, allocations: 13.56 kB / 1.535 GB, free: 9.707 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.8462, allocations: 16.84 kB / 1.535 GB, free: 9.691 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009699/0.8559, allocations: 3.201 MB / 1.538 GB, free: 6.473 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.8577, allocations: 407.1 kB / 1.539 GB, free: 6.078 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04796/0.9057, allocations: 32.76 MB / 1.571 GB, free: 4.617 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.9084, allocations: 167.8 kB / 1.571 GB, free: 4.453 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.9087, allocations: 112 kB / 1.571 GB, free: 4.344 MB / 1.264 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.003134/0.9118, allocations: 1.799 MB / 1.573 GB, free: 2.535 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007064/0.9125, allocations: 349.8 kB / 1.573 GB, free: 2.191 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.9271, allocations: 7.235 MB / 1.58 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/0.9272, allocations: 28 kB / 1.58 GB, free: 10.85 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-05/0.9272, allocations: 28 kB / 1.58 GB, free: 10.82 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/0.9273, allocations: 11.95 kB / 1.58 GB, free: 10.81 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02431/0.9516, allocations: 12.14 MB / 1.592 GB, free: 14.49 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/0.9516, allocations: 8 kB / 1.592 GB, free: 14.48 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.9526, allocations: 227.6 kB / 1.592 GB, free: 14.26 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008749/0.9613, allocations: 2.84 MB / 1.595 GB, free: 11.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003806/0.9617, allocations: 59.98 kB / 1.595 GB, free: 11.34 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6314/1.593, allocations: 31.55 MB / 1.626 GB, free: 247.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.593, allocations: 7.891 kB / 1.626 GB, free: 247.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.606, allocations: 6.776 MB / 1.632 GB, free: 244.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.608, allocations: 0.7259 MB / 1.633 GB, free: 244.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009891/1.609, allocations: 58.27 kB / 1.633 GB, free: 244.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.611, allocations: 169.1 kB / 1.633 GB, free: 244.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/1.613, allocations: 262.5 kB / 1.634 GB, free: 244.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/1.613, allocations: 76.44 kB / 1.634 GB, free: 244.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002877/1.616, allocations: 1.527 MB / 1.635 GB, free: 243.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.616, allocations: 0 / 1.635 GB, free: 243.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005042/1.621, allocations: 1.369 MB / 1.637 GB, free: 243.6 MB / 1.295 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.01233/1.633, allocations: 7.418 MB / 1.644 GB, free: 240.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009774/1.643, allocations: 6.558 MB / 1.65 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/1.643, allocations: 3.938 kB / 1.65 GB, free: 237.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006364/1.649, allocations: 4.271 MB / 1.654 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004626/1.654, allocations: 1.113 MB / 1.655 GB, free: 234.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05424/1.708, allocations: 39.05 MB / 1.694 GB, free: 200.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/1.712, allocations: 3.108 MB / 1.697 GB, free: 197.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001847/1.714, allocations: 0.5556 MB / 1.697 GB, free: 196.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001897/1.716, allocations: 1.979 MB / 1.699 GB, free: 194.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.292e-06/1.716, allocations: 0 / 1.699 GB, free: 194.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/1.88, allocations: 119.6 MB / 1.816 GB, free: 76.79 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18/19.88, allocations: 15.44 kB / 1.816 GB, free: 76.78 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 27.69185198005289]