Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.405/2.405, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5401, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002193/0.5423, allocations: 1.447 MB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.5455, allocations: 2.91 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.369e-05/0.5455, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.964e-05/0.5456, allocations: 11.92 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.745e-05/0.5457, allocations: 43.86 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.5462, allocations: 151.4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.5464, allocations: 339.3 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.938e-05/0.5465, allocations: 7.984 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.5466, allocations: 91.84 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.5467, allocations: 139.7 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.5467, allocations: 8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.5471, allocations: 147.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.5472, allocations: 87.81 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.5473, allocations: 91.56 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.5477, allocations: 269.5 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5477, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.61e-07/0.5477, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.5477, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 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.0007317/0.5484, allocations: 0.5262 MB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.5485, allocations: 12.03 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.5485, allocations: 58.73 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.5486, allocations: 16.75 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.5488, allocations: 240 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.5489, allocations: 24.36 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.5489, allocations: 16.38 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.5496, allocations: 293.1 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5496, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.5496, allocations: 8 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5496, allocations: 0 / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.551, allocations: 0.7529 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.5513, allocations: 309 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.5529, allocations: 0.6766 MB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.5534, allocations: 228.7 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.5537, allocations: 396.2 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5538, allocations: 42.5 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.473e-06/0.5538, allocations: 0 / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.00151/0.5553, allocations: 0.6495 MB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.5553, allocations: 55.41 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.5554, allocations: 129.7 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5555, allocations: 41.7 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.5555, allocations: 84.8 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.781e-05/0.5556, allocations: 126.2 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.5557, allocations: 65.69 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.5558, allocations: 330.8 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.5563, allocations: 191.8 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.5567, allocations: 196.8 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000828/0.5576, allocations: 364.9 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5576, allocations: 3.938 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001003/0.5586, allocations: 472.5 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5586, allocations: 4 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5586, allocations: 0 / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5586, allocations: 8 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.559, allocations: 95.84 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.559, allocations: 0 / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.5592, allocations: 51.66 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.5592, allocations: 15.98 kB / 1.029 GB, free: 6.312 MB / 0.7794 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.0001204/0.5593, allocations: 142.3 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.5594, allocations: 23.75 kB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.5605, allocations: 0.5064 MB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5605, allocations: 4 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5605, allocations: 0 / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5605, allocations: 0 / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.5609, allocations: 317.3 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5609, allocations: 7.875 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.5612, allocations: 87.92 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5612, allocations: 8 kB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.5612, allocations: 11.98 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5613, allocations: 7.938 kB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5613, allocations: 0 / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.5623, allocations: 0.4964 MB / 1.03 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.5623, allocations: 96.8 kB / 1.03 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.5624, allocations: 8 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.5625, allocations: 39.95 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/0.5628, allocations: 111.8 kB / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.5628, allocations: 19.98 kB / 1.03 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.5629, allocations: 95.27 kB / 1.03 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5629, allocations: 3.938 kB / 1.03 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003657/0.5632, allocations: 115.9 kB / 1.031 GB, free: 4.125 MB / 0.7794 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.001483/0.5647, allocations: 1.127 MB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009813/0.5657, allocations: 463.6 kB / 1.032 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5657, allocations: 4 kB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.5662, allocations: 268 kB / 1.032 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.5666, allocations: 71.92 kB / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.5705, allocations: 2.716 MB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.5707, allocations: 0.7331 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004409/0.5712, allocations: 189.5 kB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5713, allocations: 55.41 kB / 1.036 GB, free: 14.39 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5713, allocations: 4 kB / 1.036 GB, free: 14.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.606, allocations: 6.874 MB / 1.043 GB, free: 7.676 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.6062, allocations: 206.5 kB / 1.043 GB, free: 7.422 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.669, allocations: 0 / 1.043 GB, free: 7.422 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches