Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_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.007118/0.007118, allocations: 106.5 kB / 15.74 MB, free: 5.578 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.001189/0.00119, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.84 kB / 1.018 GB, free: 9.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8194, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005707/0.8252, allocations: 3.744 MB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002274/0.8254, allocations: 159.4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.8255, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.8256, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.8257, allocations: 19.91 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.8261, allocations: 84.81 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.8262, allocations: 27.92 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.8262, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.385e-05/0.8263, allocations: 19.91 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.91e-05/0.8264, allocations: 11.94 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.8264, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005764/0.827, allocations: 191.4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.827, allocations: 4 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.8271, allocations: 7.984 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.8272, allocations: 50.16 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8272, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8272, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8272, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 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.0003997/0.8276, allocations: 339.4 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8277, allocations: 8.922 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.8277, allocations: 30.75 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.8278, allocations: 4.938 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.8279, allocations: 164.4 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.8279, allocations: 38.2 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.828, allocations: 4.125 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8281, allocations: 41.67 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8281, allocations: 3.984 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.8281, allocations: 4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.8282, allocations: 4 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.8282, allocations: 15.98 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.8287, allocations: 334 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.8287, allocations: 26.44 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.8287, allocations: 8.922 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.8288, allocations: 85.05 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.8289, allocations: 30.56 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8289, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.829, allocations: 45.72 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.8291, allocations: 55.41 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.8291, allocations: 101.8 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8292, allocations: 25.7 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.8292, allocations: 92.03 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.8292, allocations: 3.938 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.8293, allocations: 17.72 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.8294, allocations: 314.8 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.8294, allocations: 8 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.8294, allocations: 17.7 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.8295, allocations: 17.72 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8295, allocations: 0 / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.734e-05/0.8295, allocations: 53.62 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.8296, allocations: 4 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.8296, allocations: 4.062 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.8296, allocations: 0 / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/0.8297, allocations: 8 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.8297, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.8297, allocations: 3.984 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.8297, allocations: 4 kB / 1.172 GB, free: 13.31 MB / 0.9044 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 7.392e-05/0.8298, allocations: 117.7 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.8298, allocations: 3.906 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.8299, allocations: 117.6 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.171e-05/0.83, allocations: 184.3 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.303e-05/0.8301, allocations: 184.2 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/0.8301, allocations: 184.5 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.8303, allocations: 409.1 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.8304, allocations: 105 kB / 1.173 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.8304, allocations: 105 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.386e-05/0.8305, allocations: 180.2 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.8305, allocations: 188.2 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.535e-05/0.8306, allocations: 184.1 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.707e-05/0.8306, allocations: 176.3 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.8308, allocations: 315.7 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.8309, allocations: 182.1 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.8309, allocations: 180.2 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.8311, allocations: 113 kB / 1.175 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.8312, allocations: 188.2 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.8312, allocations: 101 kB / 1.175 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.8312, allocations: 83.22 kB / 1.175 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8313, allocations: 4 kB / 1.175 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000244/0.8315, allocations: 15.94 kB / 1.175 GB, free: 9.84 MB / 0.9044 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.000562/0.8321, allocations: 0.836 MB / 1.176 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.8322, allocations: 16 kB / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8322, allocations: 0 / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.8322, allocations: 0 / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.8326, allocations: 463.2 kB / 1.177 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.8335, allocations: 1.317 MB / 1.178 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.8338, allocations: 0.6729 MB / 1.179 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.8338, allocations: 13.73 kB / 1.179 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.8339, allocations: 7.438 kB / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of SimCode: time 3.5e-07/0.8339, allocations: 0 / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.8524, allocations: 1.519 MB / 1.18 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.623, allocations: 14 kB / 1.18 GB, free: 5 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches