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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001662/0.001662, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 469.4 MB / 0.742 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.94 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.235, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002268/0.2373, allocations: 1.378 MB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003191/0.2405, allocations: 2.915 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.2406, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.764e-05/0.2407, allocations: 3.984 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.709e-05/0.2408, allocations: 43.75 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.2413, allocations: 179.2 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.2415, allocations: 247.5 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.2415, allocations: 15.92 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.2416, allocations: 91.78 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2418, allocations: 127.7 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.2418, allocations: 12 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.2422, allocations: 135.9 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.2423, allocations: 87.81 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2424, allocations: 87.58 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.2427, allocations: 275.6 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2427, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2427, allocations: 0 / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2427, allocations: 7.938 kB / 1.069 GB, free: 8.945 MB / 0.8262 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.000786/0.2435, allocations: 0.5183 MB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.2436, allocations: 12.03 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.2436, allocations: 50.73 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2437, allocations: 28.73 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.244, allocations: 232 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.244, allocations: 24.36 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2441, allocations: 16.38 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.2447, allocations: 289.1 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2447, allocations: 0 / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.2448, allocations: 12 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2448, allocations: 4 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2463, allocations: 0.749 MB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.2466, allocations: 305.1 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.2484, allocations: 0.6846 MB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.2489, allocations: 224.7 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.2493, allocations: 392.3 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2493, allocations: 38.56 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.916e-06/0.2493, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001679/0.251, allocations: 0.6611 MB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.251, allocations: 55.41 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.2511, allocations: 128.3 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2512, allocations: 33.7 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.2512, allocations: 96.78 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.2513, allocations: 122.1 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.2514, allocations: 69.67 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2515, allocations: 326.8 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.252, allocations: 195.8 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.2526, allocations: 199.5 kB / 1.074 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/0.2535, allocations: 370.1 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2535, allocations: 0 / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001118/0.2546, allocations: 468.5 kB / 1.075 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.2547, allocations: 4 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2547, allocations: 3.984 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.2547, allocations: 4 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.2551, allocations: 95.86 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2551, allocations: 0 / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2553, allocations: 47.8 kB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.2553, allocations: 19.97 kB / 1.075 GB, free: 2.234 MB / 0.8262 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.0001179/0.2554, allocations: 139.5 kB / 1.075 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.2555, allocations: 23.75 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2567, allocations: 0.5103 MB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2567, allocations: 4 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2568, allocations: 0 / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2568, allocations: 11.92 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.2571, allocations: 321.2 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2571, allocations: 3.938 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2574, allocations: 87.92 kB / 1.076 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2575, allocations: 7.922 kB / 1.076 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2575, allocations: 12 kB / 1.076 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2575, allocations: 4 kB / 1.076 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2575, allocations: 3.984 kB / 1.076 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.2586, allocations: 0.4883 MB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.2587, allocations: 100.8 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.2587, allocations: 7.984 kB / 1.077 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.2589, allocations: 35.91 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.2592, allocations: 123.8 kB / 1.077 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2592, allocations: 12 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.602e-05/0.2592, allocations: 101.5 kB / 1.077 GB, free: 164 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2593, allocations: 0 / 1.077 GB, free: 164 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003543/0.2596, allocations: 115.9 kB / 1.077 GB, free: 48 kB / 0.8262 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.2612, allocations: 1.124 MB / 1.078 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.2625, allocations: 0.5461 MB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2625, allocations: 4 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.263, allocations: 264.6 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.2635, allocations: 79.86 kB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.2675, allocations: 2.656 MB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2678, allocations: 0.7328 MB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004226/0.2683, allocations: 184.3 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2684, allocations: 63.41 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2684, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.2916, allocations: 7.36 MB / 1.09 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.252/7.543, allocations: 19.19 kB / 1.09 GB, free: 3.055 MB / 0.8419 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 50 --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