Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.0008297/0.0008297, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001374/0.001374, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9018/0.9018, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.661e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002653/0.00268, allocations: 1.391 MB / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.006311, allocations: 2.759 MB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.00638, allocations: 0 / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.006479, allocations: 7.922 kB / 0.9545 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.006619, allocations: 39.81 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.007425, allocations: 194.9 kB / 0.9548 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.007706, allocations: 247.4 kB / 0.955 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.007778, allocations: 12 kB / 0.955 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.007933, allocations: 115.8 kB / 0.9551 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.00809, allocations: 119.8 kB / 0.9552 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.008129, allocations: 12 kB / 0.9552 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.008521, allocations: 139.8 kB / 0.9554 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.008626, allocations: 99.77 kB / 0.9555 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.293e-05/0.008719, allocations: 67.83 kB / 0.9555 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.00913, allocations: 311.1 kB / 0.9558 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009135, allocations: 0 / 0.9558 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.643e-06/0.009136, allocations: 0 / 0.9558 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.009142, allocations: 4 kB / 0.9558 GB, free: 13.97 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008174/0.009959, allocations: 468.9 kB / 0.9563 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.01001, allocations: 12.03 kB / 0.9563 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.01007, allocations: 46.73 kB / 0.9563 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.0102, allocations: 24.8 kB / 0.9564 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.01045, allocations: 180.4 kB / 0.9565 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.0105, allocations: 28.36 kB / 0.9566 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.01053, allocations: 20.3 kB / 0.9566 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.01105, allocations: 283.8 kB / 0.9568 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.01106, allocations: 192 / 0.9568 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.01108, allocations: 7.938 kB / 0.9569 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01109, allocations: 4 kB / 0.9569 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.01221, allocations: 0.7254 MB / 0.9576 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.01251, allocations: 268.5 kB / 0.9578 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009774/0.01349, allocations: 0.6325 MB / 0.9584 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.01378, allocations: 216.6 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.01404, allocations: 75.95 kB / 0.9587 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.01406, allocations: 39.5 kB / 0.9588 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=37): time 2.124e-06/0.01406, allocations: 0 / 0.9588 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37): time 0.001027/0.01509, allocations: 0.6564 MB / 0.9594 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.01513, allocations: 59.39 kB / 0.9595 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.01521, allocations: 122.1 kB / 0.9596 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01523, allocations: 33.7 kB / 0.9596 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.01527, allocations: 92.78 kB / 0.9597 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.033e-05/0.01535, allocations: 130.8 kB / 0.9598 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.01542, allocations: 69.62 kB / 0.9599 GB, free: 9.645 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.01559, allocations: 326.8 kB / 0.9602 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.01586, allocations: 199.8 kB / 0.9604 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.01614, allocations: 196.8 kB / 0.9606 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.01664, allocations: 368.7 kB / 0.9609 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01665, allocations: 0 / 0.9609 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006397/0.01729, allocations: 461 kB / 0.9614 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.0173, allocations: 4 kB / 0.9614 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.01731, allocations: 3.938 kB / 0.9614 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.01733, allocations: 8 kB / 0.9614 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.01756, allocations: 103.8 kB / 0.9615 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01756, allocations: 3.938 kB / 0.9615 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01767, allocations: 47.81 kB / 0.9615 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.01769, allocations: 15.98 kB / 0.9615 GB, free: 7.926 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.0178, allocations: 141.8 kB / 0.9617 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.01782, allocations: 19.91 kB / 0.9617 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.0193, allocations: 0.5178 MB / 0.9622 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.01931, allocations: 4 kB / 0.9622 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.01932, allocations: 0 / 0.9622 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01932, allocations: 4 kB / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.01957, allocations: 264.5 kB / 0.9625 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01957, allocations: 0 / 0.9625 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.01975, allocations: 99.84 kB / 0.9626 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01975, allocations: 0 / 0.9626 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.01977, allocations: 19.92 kB / 0.9626 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01978, allocations: 4 kB / 0.9626 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01978, allocations: 0 / 0.9626 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.02043, allocations: 492.7 kB / 0.9631 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.02046, allocations: 23.78 kB / 0.9631 GB, free: 6.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.02049, allocations: 7.938 kB / 0.9631 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.02058, allocations: 39.95 kB / 0.9631 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.02076, allocations: 119.8 kB / 0.9632 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.02077, allocations: 11.98 kB / 0.9632 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.02084, allocations: 108.1 kB / 0.9633 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.02084, allocations: 0 / 0.9633 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000329/0.02117, allocations: 115.8 kB / 0.9635 GB, free: 5.879 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/0.02224, allocations: 1.127 MB / 0.9646 GB, free: 4.723 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006595/0.0229, allocations: 459.5 kB / 0.965 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.0229, allocations: 0 / 0.965 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.02346, allocations: 255.8 kB / 0.9652 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.02374, allocations: 73.81 kB / 0.9653 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.02658, allocations: 2.667 MB / 0.9679 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.02667, allocations: 126.4 kB / 0.968 GB, free: 1.059 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002748/0.02694, allocations: 183.4 kB / 0.9682 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.02704, allocations: 72.41 kB / 0.9683 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/0.02704, allocations: 4 kB / 0.9683 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.05103, allocations: 8.535 MB / 0.9766 GB, free: 8.531 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.243, allocations: 13.31 kB / 0.9766 GB, free: 8.523 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 11.406903614290059]