Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_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.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 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.001581/0.001581, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.2 kB / 0.9082 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002454/0.2434, allocations: 1.39 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003472/0.2469, allocations: 2.907 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.247, allocations: 3.938 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.099e-05/0.247, allocations: 3.938 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2472, allocations: 47.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.2478, allocations: 187.1 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.248, allocations: 239.5 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.2481, allocations: 7.984 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2482, allocations: 87.91 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.2483, allocations: 123.7 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.417e-05/0.2484, allocations: 12 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.2488, allocations: 139.9 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2489, allocations: 87.81 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.249, allocations: 91.58 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.2494, allocations: 271.6 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2494, allocations: 4 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2494, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2494, allocations: 0 / 1.069 GB, free: 8.914 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.0008246/0.2502, allocations: 0.53 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2503, allocations: 12.03 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.732e-05/0.2503, allocations: 54.73 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.2504, allocations: 16.75 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.2507, allocations: 239.4 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/0.2508, allocations: 24.36 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.2508, allocations: 16.38 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.2515, allocations: 293 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2515, allocations: 0 / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.2515, allocations: 8 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2515, allocations: 4 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.253, allocations: 0.7491 MB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2534, allocations: 301.1 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2551, allocations: 0.6807 MB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.2556, allocations: 240.6 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.256, allocations: 388.3 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2561, allocations: 38.56 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.2561, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001696/0.2578, allocations: 0.6495 MB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.2578, allocations: 55.41 kB / 1.073 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.2579, allocations: 134 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2579, allocations: 29.7 kB / 1.073 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.258, allocations: 96.73 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2581, allocations: 130.1 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/0.2582, allocations: 69.62 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2583, allocations: 322.8 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.2588, allocations: 203.7 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.2593, allocations: 195.5 kB / 1.074 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009372/0.2603, allocations: 366.2 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2603, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001122/0.2614, allocations: 468.6 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2614, allocations: 4 kB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2615, allocations: 4 kB / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2615, allocations: 0 / 1.075 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.2618, allocations: 91.86 kB / 1.075 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2619, allocations: 7.984 kB / 1.075 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2621, allocations: 43.8 kB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2621, allocations: 15.98 kB / 1.075 GB, free: 2.203 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.0001146/0.2622, allocations: 143.5 kB / 1.075 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.2623, allocations: 23.73 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.2635, allocations: 0.518 MB / 1.076 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2635, allocations: 4 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2635, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2635, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.2638, allocations: 321.2 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2638, allocations: 3.938 kB / 1.076 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.2642, allocations: 99.84 kB / 1.076 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2642, allocations: 4 kB / 1.076 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.2643, allocations: 15.98 kB / 1.076 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2643, allocations: 0 / 1.076 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2643, allocations: 0 / 1.076 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2654, allocations: 496.1 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.2655, allocations: 100.8 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.2655, allocations: 12 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.2657, allocations: 31.97 kB / 1.077 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.2659, allocations: 123.7 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.266, allocations: 15.98 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.623e-05/0.266, allocations: 101.4 kB / 1.077 GB, free: 128 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.266, allocations: 3.938 kB / 1.077 GB, free: 124 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003601/0.2664, allocations: 115.9 kB / 1.077 GB, free: 8 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.001632/0.268, allocations: 1.116 MB / 1.078 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.2693, allocations: 0.5539 MB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2693, allocations: 0 / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005737/0.2699, allocations: 264.6 kB / 1.079 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.2703, allocations: 79.86 kB / 1.079 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.2744, allocations: 2.645 MB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2746, allocations: 0.7289 MB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.275, allocations: 191.4 kB / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.2752, allocations: 59.41 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2752, allocations: 0 / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.2998, allocations: 7.38 MB / 1.09 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.572, allocations: 2.062 kB / 1.09 GB, free: 3.027 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_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_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches