Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001815/0.001815, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00233/0.00233, allocations: 165.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.973/2.973, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.937e-06/3.937e-06, allocations: 4 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.826e-05/4.22e-05, allocations: 6.219 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005405/0.005447, allocations: 2.415 MB / 1.003 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.009273, allocations: 1.623 MB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.009602, allocations: 4 kB / 1.004 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.0108, allocations: 324.5 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007167/0.01152, allocations: 282.7 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.01216, allocations: 211.3 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.01275, allocations: 422.5 kB / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.01291, allocations: 36.92 kB / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.01324, allocations: 215.4 kB / 1.006 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.01351, allocations: 151.6 kB / 1.006 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.01356, allocations: 20 kB / 1.006 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.01381, allocations: 87.88 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.01401, allocations: 143.5 kB / 1.006 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.01417, allocations: 95.58 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.01494, allocations: 0.4982 MB / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.01495, allocations: 4 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.01495, allocations: 0 / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.01496, allocations: 0 / 1.006 GB, free: 0.75 MB / 0.9512 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.001509/0.01647, allocations: 0.7891 MB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.01652, allocations: 8.031 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.01665, allocations: 68.52 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.01729, allocations: 374.7 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.01732, allocations: 12.5 kB / 1.008 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.01735, allocations: 8.375 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.01767, allocations: 151.3 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.01768, allocations: 3.938 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.0177, allocations: 3.984 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.0177, allocations: 4 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.01789, allocations: 67.97 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.01883, allocations: 0.5001 MB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.01919, allocations: 126.7 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.01932, allocations: 40.84 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.01934, allocations: 3.938 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.01967, allocations: 143.4 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01967, allocations: 0 / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0006558/0.02033, allocations: 257.1 kB / 1.009 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.0204, allocations: 51.41 kB / 1.009 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009597/0.02135, allocations: 0.7073 MB / 1.01 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.02139, allocations: 33.7 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.02164, allocations: 268.5 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.02169, allocations: 39.7 kB / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.02178, allocations: 53.69 kB / 1.01 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.02201, allocations: 374.7 kB / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.02217, allocations: 79.91 kB / 1.011 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.02243, allocations: 171.7 kB / 1.011 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.02272, allocations: 144.9 kB / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02273, allocations: 0 / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004925/0.02322, allocations: 277.1 kB / 1.011 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.02324, allocations: 4 kB / 1.011 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.02325, allocations: 0 / 1.011 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.02327, allocations: 7.984 kB / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.02344, allocations: 52 kB / 1.011 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.02345, allocations: 3.938 kB / 1.011 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.02362, allocations: 19.98 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.02364, allocations: 4 kB / 1.011 GB, free: 11.72 MB / 0.9669 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.000259/0.0239, allocations: 212.2 kB / 1.011 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.02399, allocations: 59.58 kB / 1.011 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.02446, allocations: 222.8 kB / 1.012 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.02447, allocations: 0 / 1.012 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.02447, allocations: 7.938 kB / 1.012 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.02448, allocations: 7.984 kB / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.02484, allocations: 297 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.02484, allocations: 3.938 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.02489, allocations: 8 kB / 1.012 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.0249, allocations: 3.938 kB / 1.012 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.02492, allocations: 11.98 kB / 1.012 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02492, allocations: 3.938 kB / 1.012 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02492, allocations: 0 / 1.012 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.02534, allocations: 232.6 kB / 1.012 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.02544, allocations: 67.55 kB / 1.012 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.02549, allocations: 4 kB / 1.012 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.02562, allocations: 11.98 kB / 1.012 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.02569, allocations: 15.97 kB / 1.012 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.02571, allocations: 11.94 kB / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006272/0.02634, allocations: 483 kB / 1.013 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.02634, allocations: 0 / 1.013 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003379/0.02668, allocations: 67.89 kB / 1.013 GB, free: 9.965 MB / 0.9669 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.001871/0.02855, allocations: 468.1 kB / 1.013 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.02895, allocations: 153.3 kB / 1.013 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02896, allocations: 4 kB / 1.013 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.02911, allocations: 62.86 kB / 1.013 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.02963, allocations: 83.36 kB / 1.014 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.03103, allocations: 0.8539 MB / 1.014 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.03135, allocations: 270.7 kB / 1.015 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.03148, allocations: 50.94 kB / 1.015 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.03158, allocations: 32.48 kB / 1.015 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.03158, allocations: 0 / 1.015 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of Templates: time 0.01153/0.04311, allocations: 4.574 MB / 1.019 GB, free: 3.633 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.012826349586248]