Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) 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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_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.005196/0.005196, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001533/0.001533, allocations: 199.8 kB / 16.67 MB, free: 5.531 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.401/1.401, 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 12.0.0-master/package.mo): time 2.79/2.79, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 62.91 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2743, allocations: 162.2 MB / 1.241 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00239/0.2768, allocations: 1.398 MB / 1.243 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003709/0.2805, allocations: 2.911 MB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.2805, allocations: 0 / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.556e-05/0.2806, allocations: 7.922 kB / 1.246 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.908e-05/0.2807, allocations: 43.81 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.2812, allocations: 187.1 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.2815, allocations: 239.5 kB / 1.246 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.2816, allocations: 4 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2817, allocations: 87.84 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2818, allocations: 123.7 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2819, allocations: 12 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.2823, allocations: 139.8 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2824, allocations: 91.77 kB / 1.247 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.2825, allocations: 91.62 kB / 1.247 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.2829, allocations: 275.3 kB / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2829, allocations: 0 / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2829, allocations: 0 / 1.247 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2829, allocations: 0 / 1.247 GB, free: 3.656 MB / 0.9669 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.0008854/0.2838, allocations: 0.5297 MB / 1.247 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2839, allocations: 8.031 kB / 1.247 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.2839, allocations: 54.73 kB / 1.247 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.284, allocations: 24.73 kB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.2843, allocations: 243.2 kB / 1.248 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.2844, allocations: 20.36 kB / 1.248 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.2844, allocations: 20.31 kB / 1.248 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.2851, allocations: 293.1 kB / 1.248 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2851, allocations: 0 / 1.248 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2852, allocations: 8 kB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2852, allocations: 7.938 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.2868, allocations: 0.7491 MB / 1.249 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.2872, allocations: 305.1 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.289, allocations: 0.6727 MB / 1.25 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.2896, allocations: 240.6 kB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/0.2901, allocations: 392.3 kB / 1.25 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.2901, allocations: 38.56 kB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.2901, allocations: 0 / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001804/0.2919, allocations: 0.6521 MB / 1.251 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.292, allocations: 55.41 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2921, allocations: 126.1 kB / 1.251 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.2921, allocations: 33.7 kB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.2922, allocations: 88.8 kB / 1.251 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2923, allocations: 134.8 kB / 1.251 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2924, allocations: 69.67 kB / 1.251 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2926, allocations: 326.8 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.2931, allocations: 203.7 kB / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.2937, allocations: 191.8 kB / 1.252 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2947, allocations: 369 kB / 1.253 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2947, allocations: 0 / 1.253 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001202/0.2959, allocations: 464.7 kB / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.296, allocations: 4 kB / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.296, allocations: 0 / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.296, allocations: 0 / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.2964, allocations: 103.8 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2964, allocations: 0 / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2966, allocations: 47.81 kB / 1.253 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.2966, allocations: 23.98 kB / 1.253 GB, free: 12.93 MB / 0.9825 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.000134/0.2968, allocations: 142.2 kB / 1.253 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.2968, allocations: 19.84 kB / 1.253 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.2982, allocations: 0.5105 MB / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2982, allocations: 4 kB / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2982, allocations: 0 / 1.254 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2982, allocations: 3.984 kB / 1.254 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.2986, allocations: 313.3 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2986, allocations: 7.938 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.299, allocations: 95.86 kB / 1.254 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.299, allocations: 4 kB / 1.254 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.299, allocations: 11.98 kB / 1.254 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.299, allocations: 0 / 1.254 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.299, allocations: 3.938 kB / 1.254 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.3003, allocations: 0.4924 MB / 1.255 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.3003, allocations: 100.9 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3004, allocations: 12 kB / 1.255 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.3006, allocations: 35.95 kB / 1.255 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.3008, allocations: 115.7 kB / 1.255 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.3009, allocations: 19.98 kB / 1.255 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.467e-05/0.3009, allocations: 98.52 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3009, allocations: 0 / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003521/0.3013, allocations: 123.7 kB / 1.255 GB, free: 10.74 MB / 0.9825 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.001751/0.3031, allocations: 1.123 MB / 1.256 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.3043, allocations: 467.3 kB / 1.257 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3043, allocations: 3.938 kB / 1.257 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/0.3049, allocations: 263.7 kB / 1.257 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3053, allocations: 71.92 kB / 1.257 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.3099, allocations: 2.681 MB / 1.26 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3103, allocations: 0.7367 MB / 1.26 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004254/0.3107, allocations: 187.9 kB / 1.261 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3108, allocations: 63.41 kB / 1.261 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3108, allocations: 0 / 1.261 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.34, allocations: 7.426 MB / 1.268 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.231, allocations: 7.875 kB / 1.268 GB, free: 13.77 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches