Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.007607/0.007607, allocations: 99.41 kB / 15.73 MB, free: 5.551 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.002033/0.002033, allocations: 196.8 kB / 16.68 MB, free: 5.48 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 59.91 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2783, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006025/0.2844, allocations: 4.436 MB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.2874, allocations: 2.683 MB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.2875, allocations: 0 / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.2877, allocations: 47.67 kB / 1.248 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.288, allocations: 99.36 kB / 1.249 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.289, allocations: 0.4897 MB / 1.249 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2893, allocations: 243.8 kB / 1.249 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.2894, allocations: 13.56 kB / 1.249 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008491/0.2902, allocations: 406.9 kB / 1.25 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.2904, allocations: 99.58 kB / 1.25 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2904, allocations: 4 kB / 1.25 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.2913, allocations: 495.1 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.2914, allocations: 31.91 kB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.2915, allocations: 79.64 kB / 1.25 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.2921, allocations: 354.8 kB / 1.251 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2921, allocations: 4 kB / 1.251 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2921, allocations: 0 / 1.251 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.2921, allocations: 0 / 1.251 GB, free: 0.707 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007301/0.2929, allocations: 0.4986 MB / 1.251 GB, free: 160 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2929, allocations: 12.03 kB / 1.251 GB, free: 148 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.931e-05/0.293, allocations: 50.73 kB / 1.251 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.2931, allocations: 32.77 kB / 1.251 GB, free: 56 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4682/0.7613, allocations: 199 kB / 1.251 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.7614, allocations: 11.42 kB / 1.251 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.7614, allocations: 21.31 kB / 1.252 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.7618, allocations: 246.5 kB / 1.252 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7618, allocations: 2.625 kB / 1.252 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.7619, allocations: 7.625 kB / 1.252 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.7619, allocations: 6.984 kB / 1.252 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.7624, allocations: 438.1 kB / 1.252 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.7634, allocations: 1.006 MB / 1.253 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.7637, allocations: 157.2 kB / 1.253 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.7638, allocations: 66.53 kB / 1.253 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009216/0.7647, allocations: 1.823 MB / 1.255 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7647, allocations: 40.67 kB / 1.255 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.7647, allocations: 0 / 1.255 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003338/0.7651, allocations: 149.6 kB / 1.255 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.7651, allocations: 54.38 kB / 1.255 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.7652, allocations: 169.3 kB / 1.256 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.7653, allocations: 30.34 kB / 1.256 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.7653, allocations: 143.3 kB / 1.256 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.7654, allocations: 52.92 kB / 1.256 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.7654, allocations: 60.34 kB / 1.256 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.7655, allocations: 332 kB / 1.256 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.7656, allocations: 34.2 kB / 1.256 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.7657, allocations: 141.7 kB / 1.256 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.7659, allocations: 200.3 kB / 1.256 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7659, allocations: 0.9688 kB / 1.256 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003194/0.7662, allocations: 216.2 kB / 1.257 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7662, allocations: 8.594 kB / 1.257 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7662, allocations: 3.344 kB / 1.257 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7663, allocations: 6.422 kB / 1.257 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.7664, allocations: 53.92 kB / 1.257 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.7665, allocations: 10.69 kB / 1.257 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.7666, allocations: 27.84 kB / 1.257 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.7666, allocations: 15.48 kB / 1.257 GB, free: 11.55 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.488e-05/0.7667, allocations: 135.8 kB / 1.257 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.7667, allocations: 15.94 kB / 1.257 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.767, allocations: 154.6 kB / 1.257 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7671, allocations: 2.25 kB / 1.257 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7671, allocations: 9.094 kB / 1.257 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7671, allocations: 4.734 kB / 1.257 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.7673, allocations: 221 kB / 1.257 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7673, allocations: 0 / 1.257 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.7674, allocations: 27.56 kB / 1.257 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7674, allocations: 2.844 kB / 1.257 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.7674, allocations: 4.312 kB / 1.257 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7674, allocations: 1.656 kB / 1.257 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7674, allocations: 0.625 kB / 1.257 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.7676, allocations: 232.4 kB / 1.258 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.7677, allocations: 106.9 kB / 1.258 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.7677, allocations: 4.844 kB / 1.258 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.768, allocations: 12.19 kB / 1.258 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.768, allocations: 13.53 kB / 1.258 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.768, allocations: 7.906 kB / 1.258 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.7681, allocations: 123.9 kB / 1.258 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7681, allocations: 0.7188 kB / 1.258 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00039/0.7685, allocations: 82.42 kB / 1.258 GB, free: 10.72 MB / 0.9981 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005358/0.769, allocations: 0.8365 MB / 1.259 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.7693, allocations: 115.6 kB / 1.259 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7693, allocations: 1.5 kB / 1.259 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/0.7694, allocations: 44.25 kB / 1.259 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.7698, allocations: 56.53 kB / 1.259 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7716, allocations: 2.053 MB / 1.261 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.7717, allocations: 0.7106 MB / 1.262 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.7719, allocations: 52.61 kB / 1.262 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.772, allocations: 48.83 kB / 1.262 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.772, allocations: 0 / 1.262 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.7981, allocations: 5.183 MB / 1.267 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/8.483, allocations: 3.812 kB / 1.267 GB, free: 6.871 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_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_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches