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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007443/0.007443, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.001739/0.001739, allocations: 190.4 kB / 16.79 MB, free: 5.805 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.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 70.36 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3319, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006186/0.3381, allocations: 3.784 MB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002324/0.3384, allocations: 163.5 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.3384, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3385, allocations: 0 / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.3387, allocations: 15.91 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.339, allocations: 75.77 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.3392, allocations: 59.88 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3392, allocations: 0 / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.3393, allocations: 19.86 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.3394, allocations: 15.97 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3394, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.3401, allocations: 187.5 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.3401, allocations: 11.97 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.3402, allocations: 11.94 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3403, allocations: 36.19 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3403, allocations: 4 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3403, allocations: 0 / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3403, allocations: 3.938 kB / 1.057 GB, free: 3.902 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.0004263/0.3408, allocations: 331.5 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3408, allocations: 8.031 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.3408, allocations: 4.938 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.341, allocations: 160.4 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.3411, allocations: 30.27 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.3411, allocations: 4.359 kB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3412, allocations: 53.61 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3412, allocations: 0 / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3412, allocations: 3.938 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.3413, allocations: 0 / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.3413, allocations: 23.91 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.3418, allocations: 334 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.3419, allocations: 26.58 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.3419, allocations: 4.859 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.342, allocations: 81.17 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.342, allocations: 34.56 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.342, allocations: 0 / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.3422, allocations: 37.62 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3422, allocations: 55.53 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.3423, allocations: 105.8 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3423, allocations: 25.7 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.3424, allocations: 88.05 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.3424, allocations: 7.906 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3424, allocations: 17.66 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3426, allocations: 314.8 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.3427, allocations: 7.984 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.3427, allocations: 17.72 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.3427, allocations: 25.66 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3427, allocations: 0 / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.702e-05/0.3428, allocations: 45.69 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3428, allocations: 8 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3428, allocations: 0 / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3429, allocations: 4.062 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.3429, allocations: 11.92 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3429, allocations: 4 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.343, allocations: 4 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.343, allocations: 0 / 1.059 GB, free: 1.785 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 7.033e-05/0.343, allocations: 113.8 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3431, allocations: 0 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.3432, allocations: 127.6 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-05/0.3433, allocations: 184.2 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/0.3433, allocations: 176.3 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/0.3434, allocations: 184.2 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.3436, allocations: 405.2 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/0.3437, allocations: 108.9 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3438, allocations: 112.9 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-05/0.3439, allocations: 180.2 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/0.344, allocations: 180.2 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.065e-05/0.344, allocations: 184.3 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.954e-05/0.3441, allocations: 176.3 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.3443, allocations: 311.7 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.3443, allocations: 186 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.3444, allocations: 180.3 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3446, allocations: 105 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.3446, allocations: 184.2 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.3447, allocations: 105 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.3447, allocations: 87.27 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3447, allocations: 0 / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002669/0.345, allocations: 15.94 kB / 1.062 GB, free: 14.34 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.0003024/0.3453, allocations: 198.5 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.3454, allocations: 15.92 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3454, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.3454, allocations: 4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3459, allocations: 0.5199 MB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.3462, allocations: 217.4 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.3465, allocations: 0.677 MB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.3465, allocations: 7.438 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3465, allocations: 0 / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.002292/0.3488, allocations: 0.7528 MB / 1.064 GB, free: 11.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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