Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001489/0.001489, 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.0017/0.0017, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.2 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2469, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002195/0.2491, allocations: 1.269 MB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003247/0.2524, allocations: 2.936 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.2524, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.2525, allocations: 3.984 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.2525, allocations: 3.938 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.253, allocations: 95.55 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.253, allocations: 35.91 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.2531, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.2535, allocations: 159.5 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.932e-05/0.2536, allocations: 19.91 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2536, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2538, allocations: 63.81 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.2538, allocations: 8 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.2538, allocations: 19.91 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.254, allocations: 60.09 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.254, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.254, allocations: 4 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.254, allocations: 4 kB / 1.068 GB, free: 9.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000348/0.2544, allocations: 351.4 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2544, allocations: 8.031 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.2544, allocations: 38.75 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.2545, allocations: 0.9375 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.2546, allocations: 164.3 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2546, allocations: 8.359 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.2546, allocations: 16.36 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2547, allocations: 49.62 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.2547, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2547, allocations: 3.984 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2547, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.909e-05/0.2548, allocations: 19.98 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2549, allocations: 161.7 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.255, allocations: 54.48 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.2551, allocations: 20.86 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.2557, allocations: 0.5909 MB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.2557, allocations: 34.55 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.444e-06/0.2557, allocations: 0 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005289/0.2563, allocations: 314.2 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2563, allocations: 51.41 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.2564, allocations: 101.7 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2564, allocations: 29.7 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.2564, allocations: 88.03 kB / 1.07 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2564, allocations: 31.5 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.2565, allocations: 29.7 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.2566, allocations: 314.8 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.2566, allocations: 19.98 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.2567, allocations: 45.16 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.2568, allocations: 81.25 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2568, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001288/0.2569, allocations: 89.55 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.2569, allocations: 8 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2569, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2569, allocations: 4 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.257, allocations: 24.36 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.257, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.2571, allocations: 16.06 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.2571, allocations: 4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.566e-05/0.2572, allocations: 113.8 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2572, allocations: 11.84 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.2572, allocations: 7.969 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2572, allocations: 4 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2572, allocations: 0 / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2573, allocations: 7.922 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2575, allocations: 169.7 kB / 1.071 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2575, allocations: 7.984 kB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.2576, allocations: 12 kB / 1.071 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2576, allocations: 3.938 kB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2576, allocations: 8 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2576, allocations: 0 / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2576, allocations: 0 / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.2578, allocations: 175.3 kB / 1.071 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.2578, allocations: 85.14 kB / 1.071 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.2578, allocations: 4 kB / 1.071 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.258, allocations: 4 kB / 1.071 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.258, allocations: 7.938 kB / 1.071 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.258, allocations: 4 kB / 1.071 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.258, allocations: 79.27 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.258, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002434/0.2583, allocations: 12 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0003666/0.2587, allocations: 0.7094 MB / 1.072 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2588, allocations: 47.91 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2588, allocations: 0 / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.2588, allocations: 16 kB / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2591, allocations: 16.17 kB / 1.072 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2603, allocations: 1.531 MB / 1.074 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.2605, allocations: 0.6863 MB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.539e-05/0.2606, allocations: 4 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.2606, allocations: 19.44 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2606, allocations: 0 / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.2773, allocations: 1.634 MB / 1.076 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.617, allocations: 14.09 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches