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.001503/0.001503, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001924/0.001924, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.547/1.547, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.859/2.859, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.144, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003676/1.148, allocations: 2.405 MB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002432/1.15, allocations: 1.626 MB / 1.158 GB, free: 30.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/1.15, allocations: 10.81 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009335/1.151, allocations: 317.5 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005096/1.152, allocations: 263.3 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/1.152, allocations: 214.2 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/1.153, allocations: 401.2 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/1.153, allocations: 55.05 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/1.153, allocations: 165.9 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/1.153, allocations: 173.5 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/1.153, allocations: 25.84 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/1.153, allocations: 82.08 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/1.153, allocations: 135.2 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/1.154, allocations: 145.6 kB / 1.16 GB, free: 29.69 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004629/1.154, allocations: 0.5203 MB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.154, allocations: 0 / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.154, allocations: 0 / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.257e-06/1.154, allocations: 2.719 kB / 1.16 GB, free: 29.48 MB / 1.076 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.001078/1.155, allocations: 0.789 MB / 1.161 GB, free: 28.85 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.155, allocations: 11.75 kB / 1.161 GB, free: 28.85 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/1.155, allocations: 62.39 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/1.156, allocations: 381.3 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/1.156, allocations: 9.75 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/1.156, allocations: 10.25 kB / 1.161 GB, free: 28.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/1.156, allocations: 149.8 kB / 1.162 GB, free: 28.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.156, allocations: 0 / 1.162 GB, free: 28.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/1.156, allocations: 4 kB / 1.162 GB, free: 28.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.156, allocations: 7 kB / 1.162 GB, free: 28.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/1.156, allocations: 79 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/1.157, allocations: 498 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/1.157, allocations: 134.7 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.157, allocations: 46.14 kB / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/1.157, allocations: 0 / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/1.158, allocations: 149.5 kB / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/1.158, allocations: 0 / 1.163 GB, free: 27.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0004945/1.158, allocations: 244 kB / 1.163 GB, free: 27.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/1.158, allocations: 66.22 kB / 1.163 GB, free: 27.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/1.159, allocations: 0.706 MB / 1.163 GB, free: 27.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/1.159, allocations: 31.94 kB / 1.164 GB, free: 27.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/1.159, allocations: 274.2 kB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/1.159, allocations: 32.34 kB / 1.164 GB, free: 27.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/1.159, allocations: 61.03 kB / 1.164 GB, free: 27.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.159, allocations: 375.2 kB / 1.164 GB, free: 26.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/1.159, allocations: 70.81 kB / 1.164 GB, free: 26.74 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/1.16, allocations: 168.3 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/1.16, allocations: 151.1 kB / 1.165 GB, free: 26.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.16, allocations: 0 / 1.165 GB, free: 26.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003955/1.16, allocations: 278.7 kB / 1.165 GB, free: 26.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.16, allocations: 5.438 kB / 1.165 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.16, allocations: 6.438 kB / 1.165 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.16, allocations: 0 / 1.165 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.16, allocations: 39.06 kB / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.16, allocations: 3.938 kB / 1.165 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/1.161, allocations: 22.67 kB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/1.161, allocations: 10.19 kB / 1.165 GB, free: 26.38 MB / 1.076 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.0001961/1.161, allocations: 208.3 kB / 1.165 GB, free: 26.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/1.161, allocations: 57.53 kB / 1.165 GB, free: 26.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/1.161, allocations: 233 kB / 1.165 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.161, allocations: 2.781 kB / 1.165 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.161, allocations: 0 / 1.165 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/1.161, allocations: 0 / 1.165 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/1.161, allocations: 305.8 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.161, allocations: 0 / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/1.162, allocations: 8.188 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.162, allocations: 6.844 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.162, allocations: 3.375 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.162, allocations: 6.562 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.162, allocations: 0 / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/1.162, allocations: 237.7 kB / 1.166 GB, free: 25.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/1.162, allocations: 59.27 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/1.162, allocations: 6.656 kB / 1.166 GB, free: 25.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/1.162, allocations: 20.55 kB / 1.166 GB, free: 25.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/1.162, allocations: 18.38 kB / 1.166 GB, free: 25.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/1.162, allocations: 8.703 kB / 1.166 GB, free: 25.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004567/1.163, allocations: 480.2 kB / 1.167 GB, free: 25.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.163, allocations: 2.219 kB / 1.167 GB, free: 25.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003027/1.163, allocations: 71.03 kB / 1.167 GB, free: 25.48 MB / 1.076 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.001688/1.165, allocations: 470.7 kB / 1.167 GB, free: 25.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003433/1.165, allocations: 155.6 kB / 1.167 GB, free: 25.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.165, allocations: 0 / 1.167 GB, free: 25.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/1.165, allocations: 59.58 kB / 1.167 GB, free: 25.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/1.166, allocations: 88.77 kB / 1.167 GB, free: 25.17 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.167, allocations: 0.8793 MB / 1.168 GB, free: 24.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/1.167, allocations: 264.2 kB / 1.168 GB, free: 24.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000119/1.167, allocations: 46.03 kB / 1.169 GB, free: 24.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/1.167, allocations: 40.91 kB / 1.169 GB, free: 24.57 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/1.167, allocations: 4 kB / 1.169 GB, free: 24.57 MB / 1.076 GB Notification: Performance of Templates: time 0.01102/1.178, allocations: 4.584 MB / 1.173 GB, free: 23.97 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.828498283051886]