Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.002316/0.002316, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.003/0.003, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.599/1.599, allocations: 177.1 MB / 203.9 MB, free: 5.309 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.15/3.15, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.392e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007467/0.007501, allocations: 4.142 MB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002647/0.007766, allocations: 161 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.007796, allocations: 0 / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.007919, allocations: 3.984 kB / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.008, allocations: 13.05 kB / 0.815 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.008371, allocations: 88.73 kB / 0.8151 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.008474, allocations: 36.36 kB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.008511, allocations: 8.453 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.541e-05/0.008577, allocations: 16.86 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.008657, allocations: 11.98 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.008677, allocations: 4 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.008877, allocations: 56.55 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.008927, allocations: 4.531 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.008957, allocations: 11.98 kB / 0.8152 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.009143, allocations: 69.11 kB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.009147, allocations: 0 / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.009148, allocations: 0 / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.009153, allocations: 0 / 0.8153 GB, free: 13.56 MB / 0.7761 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.0005142/0.009668, allocations: 357.5 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.009709, allocations: 12.03 kB / 0.8156 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.009763, allocations: 4.922 kB / 0.8156 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.009892, allocations: 113.2 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/0.009985, allocations: 52.69 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.01, allocations: 8.375 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.01015, allocations: 64.42 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.01016, allocations: 1.594 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.01017, allocations: 7.938 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.0102, allocations: 0 / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.01024, allocations: 7.984 kB / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.01073, allocations: 256.6 kB / 0.8161 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.36e-05/0.0108, allocations: 32.78 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.01082, allocations: 15.56 kB / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.01088, allocations: 4.062 kB / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.01092, allocations: 37.39 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.01092, allocations: 0.875 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001678/0.01108, allocations: 37.62 kB / 0.8162 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.01114, allocations: 62.88 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.01128, allocations: 157.9 kB / 0.8165 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01131, allocations: 25.7 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.0114, allocations: 138.8 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.01142, allocations: 7.938 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.01146, allocations: 19.38 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002738/0.01173, allocations: 496.1 kB / 0.8171 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.01175, allocations: 11.92 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.01178, allocations: 19.38 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.01183, allocations: 25.72 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01183, allocations: 0 / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.169e-05/0.01192, allocations: 57.56 kB / 0.8172 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01193, allocations: 5.188 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01194, allocations: 0 / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01195, allocations: 0 / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.012, allocations: 8 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01201, allocations: 1.406 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.01203, allocations: 3.938 kB / 0.8172 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.01204, allocations: 3.984 kB / 0.8172 GB, free: 11.33 MB / 0.7761 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 0.0001128/0.01215, allocations: 157.5 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.01219, allocations: 3.938 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.01237, allocations: 172.5 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001493/0.01252, allocations: 273.7 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001443/0.01266, allocations: 268 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001504/0.01282, allocations: 268.2 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.01318, allocations: 0.492 MB / 0.8188 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-05/0.01327, allocations: 157.4 kB / 0.819 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-05/0.01335, allocations: 147 kB / 0.8191 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.0135, allocations: 272 kB / 0.8194 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004159/0.01391, allocations: 272.1 kB / 0.8196 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000141/0.01406, allocations: 268 kB / 0.8199 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001467/0.0142, allocations: 268.1 kB / 0.8201 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.01448, allocations: 448 kB / 0.8206 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.01457, allocations: 156.1 kB / 0.8207 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.01474, allocations: 276 kB / 0.821 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.01492, allocations: 148.8 kB / 0.8211 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.01508, allocations: 268.1 kB / 0.8214 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.01517, allocations: 148.8 kB / 0.8215 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.75e-05/0.01526, allocations: 131.2 kB / 0.8216 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01526, allocations: 0 / 0.8216 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002594/0.01552, allocations: 19.94 kB / 0.8217 GB, free: 6.613 MB / 0.7761 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.000271/0.01579, allocations: 231.3 kB / 0.8219 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.01589, allocations: 20.7 kB / 0.8219 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01589, allocations: 0 / 0.8219 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.01589, allocations: 3.938 kB / 0.8219 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.01654, allocations: 0.7097 MB / 0.8226 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.01691, allocations: 234.6 kB / 0.8228 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.863e-05/0.01698, allocations: 55.36 kB / 0.8229 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.376e-05/0.01703, allocations: 13.17 kB / 0.8229 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.01706, allocations: 13 kB / 0.8229 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01706, allocations: 0.875 kB / 0.8229 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of Templates: time 0.003689/0.02075, allocations: 0.677 MB / 0.8236 GB, free: 4.629 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 8.357016248977743]