Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_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.001417/0.001417, 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.00135/0.00135, allocations: 198.5 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 70.5 kB / 0.9086 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2296, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004962/0.2346, allocations: 3.719 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000194/0.2348, allocations: 159.4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.2348, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.872e-05/0.2349, allocations: 3.984 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.837e-05/0.235, allocations: 11.92 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.2353, allocations: 93.31 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.2354, allocations: 27.91 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.2354, allocations: 11.98 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.595e-05/0.2355, allocations: 15.88 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.2355, allocations: 15.97 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.2355, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004802/0.236, allocations: 183.4 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.2361, allocations: 11.98 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.2361, allocations: 11.92 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2362, allocations: 36.19 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2362, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.31e-07/0.2362, allocations: 4 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2362, allocations: 0 / 1.068 GB, free: 9.918 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003435/0.2366, allocations: 331.5 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.2366, allocations: 8.031 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2366, allocations: 30.75 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.2367, allocations: 16.86 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2368, allocations: 168.3 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.2369, allocations: 30.27 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2369, allocations: 12.06 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.237, allocations: 37.69 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.237, allocations: 3.984 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.237, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.237, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.2371, allocations: 19.98 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.2375, allocations: 338 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.951e-05/0.2375, allocations: 18.52 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.2375, allocations: 4.859 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/0.2376, allocations: 89.16 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2377, allocations: 30.56 kB / 1.069 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.2377, allocations: 4 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.2378, allocations: 41.64 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2378, allocations: 51.41 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.2379, allocations: 109.8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2379, allocations: 25.7 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.238, allocations: 88.05 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.238, allocations: 3.906 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.238, allocations: 21.7 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2382, allocations: 318.9 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.2382, allocations: 8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.2382, allocations: 13.72 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.2382, allocations: 21.7 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2383, allocations: 0 / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.615e-05/0.2383, allocations: 57.62 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2384, allocations: 5.406 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.2384, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2384, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.634e-05/0.2384, allocations: 4 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2384, allocations: 4 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.2384, allocations: 0 / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2385, allocations: 0 / 1.07 GB, free: 7.758 MB / 0.8262 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 8.015e-05/0.2385, allocations: 121.7 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.2386, allocations: 8 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.2387, allocations: 120.9 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.417e-05/0.2387, allocations: 176.3 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.744e-05/0.2388, allocations: 184.2 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.706e-05/0.2389, allocations: 184.2 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2391, allocations: 413.1 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/0.2392, allocations: 101 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.638e-05/0.2392, allocations: 105 kB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-05/0.2393, allocations: 180.2 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/0.2393, allocations: 180.3 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.343e-05/0.2394, allocations: 180.2 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.229e-05/0.2395, allocations: 184.2 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2396, allocations: 307.7 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.2397, allocations: 178.1 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.2398, allocations: 192.2 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.2399, allocations: 109 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.24, allocations: 184.2 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.2401, allocations: 105 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.2401, allocations: 83.28 kB / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2401, allocations: 0 / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000216/0.2403, allocations: 23.88 kB / 1.073 GB, free: 4.293 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.0004635/0.2408, allocations: 0.8326 MB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.617e-05/0.2409, allocations: 15.98 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2409, allocations: 0 / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2409, allocations: 0 / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2412, allocations: 459.8 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.2422, allocations: 1.317 MB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2425, allocations: 0.6768 MB / 1.076 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.2425, allocations: 13.48 kB / 1.076 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.2425, allocations: 15.44 kB / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of SimCode: time 1.754e-06/0.2425, allocations: 0 / 1.077 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.777/2.02, allocations: 1.501 MB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/14.76, allocations: 7.859 kB / 1.078 GB, free: 15.44 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches