Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001508/0.001508, 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.001697/0.001697, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.563/1.563, 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.89/2.89, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.949e-05/4.162e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004614/0.004656, allocations: 2.17 MB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.007793, allocations: 1.432 MB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.007937, allocations: 0 / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.008622, allocations: 180.9 kB / 0.8145 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005118/0.009134, allocations: 171.1 kB / 0.8147 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.009454, allocations: 121.3 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006878/0.01014, allocations: 246.9 kB / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.01031, allocations: 32.56 kB / 0.8151 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.01055, allocations: 131.6 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.01073, allocations: 82.34 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.01079, allocations: 12 kB / 0.8153 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.01094, allocations: 59.84 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.01108, allocations: 95.62 kB / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.01119, allocations: 63.72 kB / 0.8155 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.01178, allocations: 358.7 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01178, allocations: 0.7188 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01178, allocations: 0 / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.01179, allocations: 0.5312 kB / 0.8158 GB, free: 12.99 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001253/0.01304, allocations: 0.6175 MB / 0.8164 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.01309, allocations: 12.03 kB / 0.8164 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.01321, allocations: 52.61 kB / 0.8165 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.01375, allocations: 302.9 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.01378, allocations: 4.969 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.0138, allocations: 8.375 kB / 0.8168 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.01413, allocations: 108.5 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01414, allocations: 0 / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.01416, allocations: 1.969 kB / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.01417, allocations: 0 / 0.8169 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.01432, allocations: 39.92 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.01533, allocations: 392.3 kB / 0.8173 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.0156, allocations: 71.27 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.01569, allocations: 23.3 kB / 0.8174 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.01573, allocations: 7.984 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.016, allocations: 101.2 kB / 0.8175 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.01601, allocations: 3.938 kB / 0.8175 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004931/0.0165, allocations: 155.2 kB / 0.8177 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.01657, allocations: 55.41 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.01732, allocations: 0.5495 MB / 0.8182 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.01735, allocations: 25.7 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.01759, allocations: 224 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.01762, allocations: 13.03 kB / 0.8185 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.0177, allocations: 41.61 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002398/0.01794, allocations: 366.7 kB / 0.8189 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01806, allocations: 49.08 kB / 0.8189 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.01823, allocations: 100.2 kB / 0.819 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.01843, allocations: 97.95 kB / 0.8191 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01844, allocations: 256 / 0.8191 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004048/0.01884, allocations: 211.1 kB / 0.8193 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.01886, allocations: 8 kB / 0.8193 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.01887, allocations: 4 kB / 0.8193 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.0189, allocations: 0 / 0.8193 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01905, allocations: 29.27 kB / 0.8194 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01905, allocations: 0 / 0.8194 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.01919, allocations: 19.92 kB / 0.8194 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.01921, allocations: 4.719 kB / 0.8194 GB, free: 9.156 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: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002474/0.01946, allocations: 178.4 kB / 0.8196 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.01954, allocations: 55.36 kB / 0.8196 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.01987, allocations: 149.5 kB / 0.8197 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01987, allocations: 0 / 0.8197 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01988, allocations: 4 kB / 0.8198 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01988, allocations: 0 / 0.8198 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.0202, allocations: 237.1 kB / 0.82 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.0202, allocations: 0 / 0.82 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.02023, allocations: 4 kB / 0.82 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.02024, allocations: 3.984 kB / 0.82 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.02025, allocations: 0 / 0.82 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.02025, allocations: 1.938 kB / 0.82 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.02025, allocations: 4 kB / 0.82 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.02058, allocations: 164.7 kB / 0.8201 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.02066, allocations: 43.66 kB / 0.8202 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.0207, allocations: 11.94 kB / 0.8202 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.02079, allocations: 4.969 kB / 0.8202 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.02086, allocations: 11.97 kB / 0.8202 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.02088, allocations: 9.094 kB / 0.8202 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004994/0.02137, allocations: 366.8 kB / 0.8206 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02138, allocations: 0 / 0.8206 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002879/0.02166, allocations: 50.36 kB / 0.8206 GB, free: 7.832 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: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002113/0.02378, allocations: 451.1 kB / 0.8211 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.02408, allocations: 95.88 kB / 0.8211 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02409, allocations: 4.062 kB / 0.8211 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.02418, allocations: 27.98 kB / 0.8212 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.02462, allocations: 66.16 kB / 0.8212 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.02584, allocations: 0.6547 MB / 0.8219 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.02644, allocations: 208.4 kB / 0.8221 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.02654, allocations: 33.77 kB / 0.8221 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.02661, allocations: 20.5 kB / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.02661, allocations: 0 / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.009213/0.03583, allocations: 3.053 MB / 0.8251 GB, free: 3.445 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.431588432984427]