Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.PropyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.007052/0.007052, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001761/0.001761, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.414/2.414, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.05 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6271, allocations: 151.6 MB / 1.166 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002092/0.6293, allocations: 1.387 MB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.6323, allocations: 2.916 MB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.6324, allocations: 7.938 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.6325, allocations: 3.984 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.6326, allocations: 35.81 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.6331, allocations: 191.1 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.6333, allocations: 239.5 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.6334, allocations: 11.97 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.6334, allocations: 91.86 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.6336, allocations: 119.7 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.6336, allocations: 15.94 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.634, allocations: 139.9 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.6341, allocations: 87.81 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.6342, allocations: 95.58 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.6345, allocations: 266.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6345, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6345, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6346, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 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.0007951/0.6354, allocations: 0.5335 MB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6354, allocations: 12.92 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.6355, allocations: 46.73 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.6356, allocations: 24.8 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.6358, allocations: 241.8 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.6359, allocations: 24.36 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.6359, allocations: 16.36 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.6366, allocations: 290.6 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6366, allocations: 0 / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.6366, allocations: 8 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6366, allocations: 4 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.6381, allocations: 0.749 MB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.6385, allocations: 309.1 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.6402, allocations: 0.6791 MB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.6407, allocations: 228.7 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.6411, allocations: 392.3 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6412, allocations: 34.56 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.6412, allocations: 0 / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001672/0.6428, allocations: 0.6537 MB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6429, allocations: 59.41 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.643, allocations: 130.1 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.643, allocations: 33.64 kB / 1.176 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.6431, allocations: 96.73 kB / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6432, allocations: 134.8 kB / 1.176 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.401e-05/0.6433, allocations: 61.69 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.6434, allocations: 326.8 kB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.6439, allocations: 199.8 kB / 1.177 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.6444, allocations: 197 kB / 1.177 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.6453, allocations: 364.7 kB / 1.177 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6453, allocations: 4 kB / 1.177 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001114/0.6465, allocations: 472.3 kB / 1.178 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.6465, allocations: 4 kB / 1.178 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6465, allocations: 0 / 1.178 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.6465, allocations: 4 kB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.6469, allocations: 95.86 kB / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6469, allocations: 0 / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.6471, allocations: 55.8 kB / 1.178 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.6471, allocations: 15.98 kB / 1.178 GB, free: 7.566 MB / 0.9044 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.000116/0.6473, allocations: 133.8 kB / 1.178 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.6473, allocations: 27.83 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.6486, allocations: 0.5037 MB / 1.179 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6486, allocations: 4 kB / 1.179 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6486, allocations: 0 / 1.179 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6486, allocations: 7.984 kB / 1.179 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.6489, allocations: 313.3 kB / 1.179 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6489, allocations: 7.938 kB / 1.179 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.6493, allocations: 103.8 kB / 1.179 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6493, allocations: 0 / 1.179 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.6493, allocations: 11.98 kB / 1.179 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6493, allocations: 4 kB / 1.179 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6493, allocations: 3.938 kB / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.6505, allocations: 0.4888 MB / 1.179 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.6505, allocations: 108.8 kB / 1.18 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.6506, allocations: 8 kB / 1.18 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.6508, allocations: 35.97 kB / 1.18 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.651, allocations: 119.8 kB / 1.18 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.651, allocations: 11.98 kB / 1.18 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.6511, allocations: 100.9 kB / 1.18 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6511, allocations: 3.938 kB / 1.18 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003515/0.6515, allocations: 111.8 kB / 1.18 GB, free: 5.371 MB / 0.9044 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.001611/0.6531, allocations: 1.123 MB / 1.181 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.6542, allocations: 479.6 kB / 1.181 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6542, allocations: 0 / 1.181 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.6548, allocations: 267.7 kB / 1.182 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.6552, allocations: 75.86 kB / 1.182 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.6593, allocations: 2.68 MB / 1.184 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6596, allocations: 0.7365 MB / 1.185 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.66, allocations: 182.7 kB / 1.185 GB, free: 15.71 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6602, allocations: 67.41 kB / 1.185 GB, free: 15.64 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.6602, allocations: 3.938 kB / 1.185 GB, free: 15.64 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.683, allocations: 7.434 MB / 1.193 GB, free: 8.359 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.308, allocations: 11.75 kB / 1.193 GB, free: 8.352 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches