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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 212.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.609/3.609, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 71.05 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4251, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005779/0.4308, allocations: 3.625 MB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002153/0.4311, allocations: 143.6 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.4311, allocations: 0 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.4312, allocations: 3.938 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.4313, allocations: 19.91 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.4317, allocations: 83.73 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.977e-05/0.4317, allocations: 31.86 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.4318, allocations: 3.938 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.4318, allocations: 23.92 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.4319, allocations: 11.98 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.4319, allocations: 0 / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.4325, allocations: 215.2 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.4326, allocations: 15.91 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.4326, allocations: 4 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.4328, allocations: 55.88 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4328, allocations: 0 / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4328, allocations: 3.938 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.4328, allocations: 0 / 1.368 GB, free: 9.332 MB / 1.061 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.0003821/0.4332, allocations: 266.3 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4332, allocations: 8.031 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.4332, allocations: 4.938 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.4333, allocations: 110.4 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.4334, allocations: 51.97 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.4334, allocations: 4.375 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4336, allocations: 71.33 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4336, allocations: 0 / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4336, allocations: 0 / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.4336, allocations: 7.938 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.4337, allocations: 19.98 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.4341, allocations: 216.5 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.4341, allocations: 18.56 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.4341, allocations: 8.922 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.4342, allocations: 4 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4342, allocations: 34.56 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4342, allocations: 3.938 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001476/0.4343, allocations: 37.69 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.4344, allocations: 55.53 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.4345, allocations: 97.86 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.4345, allocations: 25.7 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.4345, allocations: 92.08 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.4346, allocations: 7.953 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.4346, allocations: 13.72 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4347, allocations: 318.8 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.4347, allocations: 4 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.4348, allocations: 17.7 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.191e-05/0.4348, allocations: 25.66 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4348, allocations: 0 / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.007e-05/0.4349, allocations: 53.62 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4349, allocations: 4 kB / 1.369 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4349, allocations: 3.938 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4349, allocations: 3.938 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.435, allocations: 8 kB / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.435, allocations: 0 / 1.369 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.435, allocations: 3.984 kB / 1.369 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.435, allocations: 4 kB / 1.369 GB, free: 7.559 MB / 1.061 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.572e-05/0.4351, allocations: 118.9 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.4351, allocations: 4 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.4352, allocations: 120.9 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-05/0.4353, allocations: 184.2 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.579e-05/0.4354, allocations: 176.3 kB / 1.37 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-05/0.4355, allocations: 180.2 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.4357, allocations: 364.8 kB / 1.371 GB, free: 6.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-05/0.4358, allocations: 108.9 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.4358, allocations: 105 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.452e-05/0.4359, allocations: 180.3 kB / 1.371 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.436, allocations: 188.2 kB / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.425e-05/0.436, allocations: 180.2 kB / 1.371 GB, free: 5.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-05/0.4361, allocations: 180.2 kB / 1.371 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.4363, allocations: 311.7 kB / 1.372 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.4363, allocations: 101 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4364, allocations: 184.2 kB / 1.372 GB, free: 4.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4366, allocations: 108.9 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.4367, allocations: 176.3 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.4367, allocations: 108.9 kB / 1.372 GB, free: 4.367 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.4368, allocations: 87.28 kB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4368, allocations: 4 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002489/0.437, allocations: 15.94 kB / 1.373 GB, free: 4.262 MB / 1.061 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.0001831/0.4372, allocations: 182.5 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.721e-05/0.4373, allocations: 15.98 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4373, allocations: 0 / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.4373, allocations: 0 / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.4378, allocations: 465.6 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.438, allocations: 190.2 kB / 1.373 GB, free: 3.391 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.054e-05/0.4381, allocations: 59.3 kB / 1.373 GB, free: 3.312 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.271e-05/0.4381, allocations: 10.61 kB / 1.373 GB, free: 3.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.4382, allocations: 11.44 kB / 1.373 GB, free: 3.293 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4382, allocations: 0 / 1.373 GB, free: 3.293 MB / 1.061 GB Notification: Performance of Templates: time 0.003247/0.4414, allocations: 0.6755 MB / 1.374 GB, free: 2.633 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.948696997016668]