Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001258/0.001258, allocations: 105 kB / 16.41 MB, free: 6.465 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.001175/0.001175, allocations: 187 kB / 17.34 MB, free: 5.719 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8997, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005327/0.905, allocations: 3.715 MB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.9052, allocations: 153.6 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.9053, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.9054, allocations: 6.516 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.9055, allocations: 12.55 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.9058, allocations: 83.42 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.906, allocations: 41.14 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.906, allocations: 2.266 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.9061, allocations: 15.58 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.9061, allocations: 12.73 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.9062, allocations: 0.9688 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005613/0.9067, allocations: 189.5 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.9068, allocations: 13.16 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.9068, allocations: 5.406 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.907, allocations: 45.95 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.907, allocations: 0 / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.907, allocations: 1.031 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.907, allocations: 0 / 1.093 GB, free: 2.578 MB / 0.8575 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.000371/0.9074, allocations: 333.1 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9074, allocations: 10 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.9075, allocations: 10.52 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.9075, allocations: 168.4 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.9076, allocations: 28.47 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.9076, allocations: 1.281 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.9078, allocations: 47.58 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.9078, allocations: 1.125 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.9078, allocations: 0 / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.9078, allocations: 1.469 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.9079, allocations: 17.72 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003919/0.9083, allocations: 339.4 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.45e-05/0.9083, allocations: 16.7 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.9083, allocations: 7.094 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/0.9084, allocations: 83.67 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.9084, allocations: 32.58 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.9084, allocations: 4 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.9086, allocations: 41.48 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.9086, allocations: 52.09 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.9087, allocations: 98.95 kB / 1.094 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.9087, allocations: 29.7 kB / 1.094 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.9087, allocations: 87.34 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-06/0.9087, allocations: 9 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.9088, allocations: 13.81 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.9088, allocations: 325.1 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.9089, allocations: 7.297 kB / 1.094 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.9089, allocations: 14.72 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.9089, allocations: 25.36 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.9089, allocations: 0.75 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.61e-05/0.909, allocations: 50.61 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.909, allocations: 5.375 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.909, allocations: 5.375 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.9091, allocations: 0 / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.647e-05/0.9091, allocations: 13.73 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9091, allocations: 1.625 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.9091, allocations: 1.031 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.9092, allocations: 1.906 kB / 1.095 GB, free: 0.6367 MB / 0.8575 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.503e-05/0.9092, allocations: 112.9 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.9092, allocations: 5.969 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.9093, allocations: 122.2 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.9094, allocations: 185.7 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-05/0.9094, allocations: 178 kB / 1.095 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-05/0.9095, allocations: 185.8 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.9097, allocations: 416.2 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-05/0.9098, allocations: 103.2 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.9098, allocations: 106.7 kB / 1.096 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.303e-05/0.9099, allocations: 176.8 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.91, allocations: 185.8 kB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.396e-05/0.91, allocations: 178.9 kB / 1.096 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/0.9101, allocations: 181.9 kB / 1.097 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.9102, allocations: 309.9 kB / 1.097 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.9103, allocations: 184.4 kB / 1.097 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.78e-05/0.9104, allocations: 182.8 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.9106, allocations: 110.1 kB / 1.097 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.9106, allocations: 182 kB / 1.098 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.9107, allocations: 102.8 kB / 1.098 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.9107, allocations: 85.53 kB / 1.098 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9107, allocations: 0 / 1.098 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002503/0.911, allocations: 16.66 kB / 1.098 GB, free: 13.25 MB / 0.8731 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.0002938/0.9113, allocations: 212.7 kB / 1.098 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.9114, allocations: 16.72 kB / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9114, allocations: 0 / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.9114, allocations: 0 / 1.098 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.9118, allocations: 459.5 kB / 1.098 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.9121, allocations: 221.3 kB / 1.099 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.9123, allocations: 0.6744 MB / 1.099 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.9124, allocations: 9.703 kB / 1.099 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9124, allocations: 0.5625 kB / 1.099 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of Templates: time 0.002802/0.9152, allocations: 0.7631 MB / 1.1 GB, free: 11.62 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches