Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.001011/0.001011, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001002/0.001001, allocations: 193 kB / 16.13 MB, free: 6.648 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.09 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2564, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004726/0.2612, allocations: 3.792 MB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000179/0.2614, allocations: 163.5 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.334e-05/0.2614, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.365e-05/0.2615, allocations: 3.938 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.2616, allocations: 11.97 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2619, allocations: 79.7 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.2619, allocations: 63.8 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.262, allocations: 4 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.262, allocations: 15.94 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.2621, allocations: 7.984 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2621, allocations: 4 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.2626, allocations: 191.5 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.428e-05/0.2626, allocations: 4 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.2627, allocations: 15.91 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.2628, allocations: 44.19 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2628, allocations: 4 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2628, allocations: 0 / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.2628, allocations: 0 / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003126/0.2631, allocations: 340.8 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2632, allocations: 15.97 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.2632, allocations: 30.75 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.2632, allocations: 0.9375 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.338e-05/0.2633, allocations: 172.3 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.2634, allocations: 30.27 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.2634, allocations: 8.125 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2635, allocations: 41.69 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.2635, allocations: 0 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2636, allocations: 0 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.2636, allocations: 0 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.213e-05/0.2636, allocations: 19.98 kB / 1.057 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.264, allocations: 334 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.351e-05/0.264, allocations: 26.52 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.2641, allocations: 4.859 kB / 1.057 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-05/0.2641, allocations: 85.16 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.2642, allocations: 34.56 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.2642, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.2643, allocations: 37.64 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.2644, allocations: 51.41 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/0.2644, allocations: 117.9 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2645, allocations: 25.7 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2645, allocations: 80.14 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.2645, allocations: 7.906 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.2645, allocations: 17.7 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.2646, allocations: 318.8 kB / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.2647, allocations: 0 / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.2647, allocations: 17.72 kB / 1.058 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.2647, allocations: 29.64 kB / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2647, allocations: 3.938 kB / 1.058 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.763e-05/0.2648, allocations: 41.7 kB / 1.058 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2648, allocations: 11.98 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2648, allocations: 0 / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.2648, allocations: 0 / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.2649, allocations: 8.062 kB / 1.058 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2649, allocations: 3.938 kB / 1.058 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.2649, allocations: 7.938 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2649, allocations: 0 / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.979e-05/0.265, allocations: 113.8 kB / 1.058 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.265, allocations: 7.906 kB / 1.058 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.2651, allocations: 117 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.826e-05/0.2652, allocations: 184.2 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/0.2652, allocations: 176.3 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/0.2653, allocations: 188.2 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2655, allocations: 405.1 kB / 1.059 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-05/0.2655, allocations: 109 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.2656, allocations: 104.9 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.2656, allocations: 184.3 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.2657, allocations: 176.3 kB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-05/0.2658, allocations: 188.2 kB / 1.06 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.048e-05/0.2658, allocations: 180.2 kB / 1.06 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2659, allocations: 311.7 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.266, allocations: 182 kB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.2661, allocations: 184.2 kB / 1.061 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2662, allocations: 101 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.2663, allocations: 180.2 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.2663, allocations: 113 kB / 1.061 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.2664, allocations: 83.27 kB / 1.061 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2664, allocations: 0 / 1.061 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002346/0.2666, allocations: 23.88 kB / 1.061 GB, free: 14.18 MB / 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 (0): * Single equations (assignments): 0 * 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.0004265/0.267, allocations: 0.8282 MB / 1.062 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.708e-05/0.2671, allocations: 11.98 kB / 1.062 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2671, allocations: 0 / 1.062 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.2671, allocations: 4.328 kB / 1.062 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2675, allocations: 0.5234 MB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008596/0.2684, allocations: 1.322 MB / 1.064 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2686, allocations: 0.677 MB / 1.065 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.2686, allocations: 14.5 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.2687, allocations: 11.44 kB / 1.065 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2687, allocations: 0 / 1.065 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4684/0.7371, allocations: 1.391 MB / 1.066 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.7374, allocations: 234.1 kB / 1.066 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.69, allocations: 3.219 kB / 1.066 GB, free: 9.148 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches