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.00197/0.00197, 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.002301/0.002301, allocations: 165.7 kB / 23.54 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.6/1.6, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.976/2.976, 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.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.984e-06/1.984e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.655e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005292/0.005329, allocations: 2.414 MB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.009393, allocations: 1.62 MB / 0.8148 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.009765, allocations: 7.938 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.01114, allocations: 320.4 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01218, allocations: 276.3 kB / 0.8153 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.01292, allocations: 209 kB / 0.8155 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.01367, allocations: 414.5 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.01384, allocations: 53.48 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.0142, allocations: 215.4 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.01446, allocations: 152.5 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.01451, allocations: 20 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.01478, allocations: 92.97 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.01496, allocations: 131.5 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.01512, allocations: 103.6 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.0159, allocations: 0.4915 MB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.0159, allocations: 0 / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.343e-06/0.0159, allocations: 0 / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.01591, allocations: 0.8125 kB / 0.8172 GB, free: 11.6 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.001561/0.01747, allocations: 0.7934 MB / 0.8179 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.01752, allocations: 8.875 kB / 0.8179 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.01769, allocations: 64.56 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.01839, allocations: 396.6 kB / 0.8184 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.01842, allocations: 12.5 kB / 0.8184 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.01845, allocations: 12.38 kB / 0.8184 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.01878, allocations: 149.1 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.0188, allocations: 4.562 kB / 0.8185 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.01882, allocations: 4 kB / 0.8186 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.01882, allocations: 2.531 kB / 0.8186 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.01903, allocations: 75.95 kB / 0.8186 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.01999, allocations: 0.4923 MB / 0.8191 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.02034, allocations: 124.5 kB / 0.8192 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.02047, allocations: 48.83 kB / 0.8193 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.0205, allocations: 4 kB / 0.8193 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.0208, allocations: 141.6 kB / 0.8194 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.0208, allocations: 0 / 0.8194 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0006686/0.02147, allocations: 253.9 kB / 0.8197 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.02152, allocations: 55.39 kB / 0.8197 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.02252, allocations: 0.7034 MB / 0.8204 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.02255, allocations: 25.7 kB / 0.8204 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.02287, allocations: 273.2 kB / 0.8207 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.02292, allocations: 39.72 kB / 0.8207 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/0.02335, allocations: 54.31 kB / 0.8208 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002678/0.02361, allocations: 382.7 kB / 0.8211 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.02379, allocations: 79.64 kB / 0.8212 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.02406, allocations: 170.7 kB / 0.8214 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.02437, allocations: 144.9 kB / 0.8215 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02437, allocations: 0 / 0.8215 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000552/0.02492, allocations: 285.1 kB / 0.8218 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.02495, allocations: 12.66 kB / 0.8218 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.02495, allocations: 0 / 0.8218 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.02497, allocations: 0 / 0.8218 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.02515, allocations: 35.92 kB / 0.8218 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.02517, allocations: 12.97 kB / 0.8218 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.02536, allocations: 23.88 kB / 0.8219 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.02539, allocations: 13.09 kB / 0.8219 GB, free: 6.562 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.0002771/0.02567, allocations: 207.7 kB / 0.8221 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.814e-05/0.02577, allocations: 72.62 kB / 0.8221 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.02625, allocations: 224.9 kB / 0.8224 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.02626, allocations: 5.109 kB / 0.8224 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.02627, allocations: 7.938 kB / 0.8224 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02627, allocations: 0 / 0.8224 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.02667, allocations: 289.9 kB / 0.8226 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.02667, allocations: 0 / 0.8226 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.02673, allocations: 18.39 kB / 0.8227 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.02673, allocations: 4 kB / 0.8227 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.02675, allocations: 4 kB / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.02675, allocations: 0 / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02675, allocations: 0 / 0.8227 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.02722, allocations: 248.5 kB / 0.8229 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.02734, allocations: 61.31 kB / 0.823 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.02739, allocations: 4 kB / 0.823 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.02752, allocations: 11.98 kB / 0.823 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.02759, allocations: 15.97 kB / 0.823 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.02762, allocations: 20.52 kB / 0.823 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006615/0.02828, allocations: 479 kB / 0.8235 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02828, allocations: 1.281 kB / 0.8235 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000351/0.02863, allocations: 67.88 kB / 0.8235 GB, free: 4.801 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.00206/0.03069, allocations: 459.4 kB / 0.824 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.03111, allocations: 158.6 kB / 0.8241 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03111, allocations: 128 / 0.8241 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.03127, allocations: 67.89 kB / 0.8242 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.03182, allocations: 91.31 kB / 0.8243 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.03333, allocations: 0.8678 MB / 0.8251 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.03366, allocations: 267.6 kB / 0.8254 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.03381, allocations: 50.94 kB / 0.8254 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.03391, allocations: 36.48 kB / 0.8255 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.03391, allocations: 0 / 0.8255 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of Templates: time 0.01187/0.04578, allocations: 4.618 MB / 0.83 GB, free: 14.43 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.659639465040527]