Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.0009824/0.0009824, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009867/0.0009867, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.909/1.909, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.698e-05, allocations: 2.875 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003224/0.003251, allocations: 2.511 MB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.005425, allocations: 1.691 MB / 0.8156 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.005606, allocations: 4 kB / 0.8157 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008635/0.006469, allocations: 312.5 kB / 0.816 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.00694, allocations: 272.6 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.007342, allocations: 213.3 kB / 0.8164 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.007702, allocations: 418.5 kB / 0.8168 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.007841, allocations: 48.88 kB / 0.8169 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.008053, allocations: 215.4 kB / 0.8171 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.00823, allocations: 152.4 kB / 0.8172 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.008263, allocations: 21.31 kB / 0.8172 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.008424, allocations: 79.88 kB / 0.8173 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.008537, allocations: 135.5 kB / 0.8174 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.00863, allocations: 99.58 kB / 0.8175 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.009115, allocations: 363.6 kB / 0.8179 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.009119, allocations: 0 / 0.8179 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.00912, allocations: 0 / 0.8179 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.009126, allocations: 5.844 kB / 0.8179 GB, free: 11.58 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000888/0.01001, allocations: 0.9007 MB / 0.8188 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01005, allocations: 8.031 kB / 0.8188 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.443e-05/0.01015, allocations: 72.52 kB / 0.8188 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.01055, allocations: 380.8 kB / 0.8192 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.01058, allocations: 8.562 kB / 0.8192 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.0106, allocations: 8.375 kB / 0.8192 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.01078, allocations: 127.2 kB / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.01079, allocations: 0 / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.0108, allocations: 4.5 kB / 0.8193 GB, free: 10 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01081, allocations: 4 kB / 0.8193 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.01089, allocations: 34.38 kB / 0.8194 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.01154, allocations: 0.5665 MB / 0.8199 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.01172, allocations: 92.55 kB / 0.82 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.01178, allocations: 32.48 kB / 0.8201 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.01179, allocations: 0 / 0.8201 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.01196, allocations: 127.4 kB / 0.8202 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.01196, allocations: 4.594 kB / 0.8202 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.000357/0.01232, allocations: 200.3 kB / 0.8204 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.01237, allocations: 55.41 kB / 0.8204 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.01293, allocations: 0.6557 MB / 0.8211 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.01296, allocations: 33.7 kB / 0.8211 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.01317, allocations: 331.2 kB / 0.8214 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.01321, allocations: 43.69 kB / 0.8215 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.01329, allocations: 55.36 kB / 0.8215 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.01349, allocations: 0.5703 MB / 0.8221 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.01357, allocations: 31.97 kB / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.01368, allocations: 136.2 kB / 0.8222 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.01381, allocations: 88.67 kB / 0.8223 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01381, allocations: 4 kB / 0.8223 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002697/0.01408, allocations: 206.1 kB / 0.8225 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.0141, allocations: 10.81 kB / 0.8225 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.01411, allocations: 1.062 kB / 0.8225 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.01413, allocations: 0 / 0.8225 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01425, allocations: 35.92 kB / 0.8226 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.01426, allocations: 9.062 kB / 0.8226 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.01436, allocations: 19.92 kB / 0.8226 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.01438, allocations: 9.125 kB / 0.8226 GB, free: 6.504 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001272/0.0145, allocations: 174.6 kB / 0.8228 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.01456, allocations: 72.48 kB / 0.8228 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.01481, allocations: 174.9 kB / 0.823 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.01482, allocations: 1.844 kB / 0.823 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.01482, allocations: 3.938 kB / 0.823 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01483, allocations: 0 / 0.823 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.01511, allocations: 344.4 kB / 0.8233 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01511, allocations: 0 / 0.8233 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.01515, allocations: 18.41 kB / 0.8233 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01515, allocations: 0 / 0.8233 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.01516, allocations: 0 / 0.8233 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01516, allocations: 7.938 kB / 0.8234 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01516, allocations: 0 / 0.8234 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.01539, allocations: 227.8 kB / 0.8236 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.01544, allocations: 51.62 kB / 0.8236 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.01548, allocations: 12.61 kB / 0.8236 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.01555, allocations: 5.656 kB / 0.8236 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.01561, allocations: 19.97 kB / 0.8237 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.01563, allocations: 11.92 kB / 0.8237 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003067/0.01593, allocations: 403 kB / 0.8241 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01593, allocations: 0.5 kB / 0.8241 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002569/0.01619, allocations: 75.88 kB / 0.8241 GB, free: 4.867 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001026/0.01722, allocations: 422.1 kB / 0.8245 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.01745, allocations: 102.2 kB / 0.8246 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01745, allocations: 0 / 0.8246 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.01753, allocations: 55.59 kB / 0.8247 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.01789, allocations: 102.8 kB / 0.8248 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.01907, allocations: 0.7465 MB / 0.8255 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.44e-05/0.01916, allocations: 140.1 kB / 0.8256 GB, free: 3.406 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.01926, allocations: 42.94 kB / 0.8257 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.01933, allocations: 32.48 kB / 0.8257 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of SimCode: time 1.383e-06/0.01933, allocations: 4 kB / 0.8257 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of Templates: time 0.009163/0.02849, allocations: 4.605 MB / 0.8302 GB, free: 14.8 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.234126534080133]