Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001461/0.001461, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001668/0.001668, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.921/2.921, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.954e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0067/0.006729, allocations: 3.637 MB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002619/0.006991, allocations: 137.9 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.007013, allocations: 0 / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.007125, allocations: 0 / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.007214, allocations: 23.84 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.007613, allocations: 80.88 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.007716, allocations: 37.5 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.007754, allocations: 4 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.007823, allocations: 15.98 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.007914, allocations: 19.91 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.007931, allocations: 0.6562 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.008661, allocations: 212.2 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.008705, allocations: 7.922 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.008738, allocations: 8.484 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.008931, allocations: 68.36 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.008933, allocations: 0 / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008934, allocations: 0.8438 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.008938, allocations: 0 / 0.8149 GB, free: 13.9 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.0004598/0.009398, allocations: 263.1 kB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.009442, allocations: 12.03 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.0095, allocations: 2.656 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.00963, allocations: 113.7 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.009726, allocations: 55.95 kB / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.009739, allocations: 384 / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.009928, allocations: 72.77 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009938, allocations: 192 / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.009958, allocations: 6.188 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.009978, allocations: 0 / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.01004, allocations: 15.98 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.01052, allocations: 200.6 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.662e-05/0.01058, allocations: 22.52 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.0106, allocations: 8.797 kB / 0.8156 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.01067, allocations: 14.14 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.0107, allocations: 30.56 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.0107, allocations: 0 / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001867/0.01089, allocations: 33.7 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.01093, allocations: 55.84 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.01105, allocations: 106.4 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.01107, allocations: 27.05 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.01113, allocations: 88.09 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.01114, allocations: 3.953 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.01118, allocations: 13.72 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.01135, allocations: 319.5 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.01136, allocations: 4 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.01139, allocations: 14.38 kB / 0.8163 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.01144, allocations: 29.73 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01144, allocations: 0 / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.681e-05/0.01154, allocations: 53.58 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.01156, allocations: 7.984 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01156, allocations: 0 / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01158, allocations: 0 / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.01163, allocations: 8 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.01164, allocations: 0 / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.01167, allocations: 7.938 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01168, allocations: 10.03 kB / 0.8164 GB, free: 12.15 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 9.251e-05/0.01178, allocations: 109.8 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.01181, allocations: 11.89 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.01195, allocations: 119.7 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.01205, allocations: 185.5 kB / 0.8168 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.661e-05/0.01215, allocations: 180.3 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-05/0.01224, allocations: 176.3 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.01251, allocations: 361.9 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.907e-05/0.01257, allocations: 109 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.01264, allocations: 106 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.864e-05/0.01273, allocations: 184.2 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.676e-05/0.01283, allocations: 180.3 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.911e-05/0.01293, allocations: 185.3 kB / 0.8183 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.16e-05/0.01302, allocations: 176.3 kB / 0.8184 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.01322, allocations: 307.8 kB / 0.8187 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.01329, allocations: 105.8 kB / 0.8188 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.0134, allocations: 188.2 kB / 0.819 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.01359, allocations: 115 kB / 0.8191 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.0137, allocations: 180.2 kB / 0.8193 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.01375, allocations: 101 kB / 0.8194 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.342e-05/0.01381, allocations: 87.28 kB / 0.8195 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01381, allocations: 0 / 0.8195 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002617/0.01408, allocations: 19.92 kB / 0.8195 GB, free: 8.852 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.0002457/0.01432, allocations: 192.1 kB / 0.8197 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.01439, allocations: 7.938 kB / 0.8197 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.0144, allocations: 5.688 kB / 0.8197 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.0144, allocations: 0 / 0.8197 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.01495, allocations: 467.2 kB / 0.8201 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.01529, allocations: 184.3 kB / 0.8203 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.371e-05/0.01536, allocations: 65.56 kB / 0.8204 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.0154, allocations: 4 kB / 0.8204 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.01544, allocations: 12.48 kB / 0.8204 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01544, allocations: 8.312 kB / 0.8204 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of Templates: time 0.003659/0.0191, allocations: 0.6835 MB / 0.8211 GB, free: 7.199 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.93097707699053]