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.002002/0.002002, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001875/0.001875, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.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.919/2.919, allocations: 0.49 GB / 0.7923 GB, free: 1.273 MB / 0.6231 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.002045/0.002045, allocations: 75.89 kB / 1.15 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 176.1 MB / 1.322 GB, free: 7.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00451/1.012, allocations: 2.5 MB / 1.324 GB, free: 5.922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003186/1.016, allocations: 1.737 MB / 1.326 GB, free: 4.559 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/1.016, allocations: 7.344 kB / 1.326 GB, free: 4.555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009946/1.017, allocations: 323.7 kB / 1.326 GB, free: 4.367 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006697/1.018, allocations: 269.3 kB / 1.327 GB, free: 4.184 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/1.018, allocations: 195.1 kB / 1.327 GB, free: 4.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005034/1.019, allocations: 414.4 kB / 1.327 GB, free: 3.793 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/1.019, allocations: 52.02 kB / 1.327 GB, free: 3.762 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/1.019, allocations: 173.1 kB / 1.327 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/1.019, allocations: 181.9 kB / 1.328 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.268e-05/1.019, allocations: 19.34 kB / 1.328 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/1.02, allocations: 83.05 kB / 1.328 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/1.02, allocations: 133.3 kB / 1.328 GB, free: 3.438 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/1.02, allocations: 193.3 kB / 1.328 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000702/1.021, allocations: 0.516 MB / 1.329 GB, free: 2.922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.021, allocations: 0 / 1.329 GB, free: 2.922 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.655e-06/1.021, allocations: 1.031 kB / 1.329 GB, free: 2.922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.021, allocations: 3.938 kB / 1.329 GB, free: 2.918 MB / 1.014 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.001431/1.022, allocations: 0.8586 MB / 1.329 GB, free: 2.148 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.022, allocations: 13.08 kB / 1.329 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/1.022, allocations: 68.16 kB / 1.329 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/1.023, allocations: 456 kB / 1.33 GB, free: 1.707 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.023, allocations: 11.06 kB / 1.33 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/1.023, allocations: 16.52 kB / 1.33 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/1.023, allocations: 139.4 kB / 1.33 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/1.023, allocations: 0 / 1.33 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/1.023, allocations: 1.281 kB / 1.33 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.023, allocations: 6.281 kB / 1.33 GB, free: 1.586 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/1.024, allocations: 71.19 kB / 1.33 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/1.025, allocations: 0.5719 MB / 1.331 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/1.025, allocations: 124.2 kB / 1.331 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/1.025, allocations: 45.06 kB / 1.331 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/1.025, allocations: 5.453 kB / 1.331 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/1.025, allocations: 118.4 kB / 1.331 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/1.025, allocations: 0 / 1.331 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0005677/1.026, allocations: 226.3 kB / 1.331 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/1.026, allocations: 90.88 kB / 1.331 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008396/1.027, allocations: 0.7026 MB / 1.332 GB, free: 248 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/1.027, allocations: 32.45 kB / 1.332 GB, free: 212 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/1.027, allocations: 273.4 kB / 1.332 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/1.027, allocations: 37.23 kB / 1.332 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.027, allocations: 51.7 kB / 1.332 GB, free: 15.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002711/1.028, allocations: 373 kB / 1.333 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/1.028, allocations: 70.34 kB / 1.333 GB, free: 15.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/1.028, allocations: 127.9 kB / 1.333 GB, free: 15.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/1.028, allocations: 132.8 kB / 1.333 GB, free: 15.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.028, allocations: 3.938 kB / 1.333 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005142/1.029, allocations: 281.9 kB / 1.333 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.029, allocations: 4.719 kB / 1.333 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.029, allocations: 1.125 kB / 1.333 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.029, allocations: 2.719 kB / 1.333 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.029, allocations: 37.8 kB / 1.333 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.029, allocations: 6.75 kB / 1.333 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/1.029, allocations: 25.69 kB / 1.333 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/1.029, allocations: 5.625 kB / 1.333 GB, free: 15.16 MB / 1.029 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.0002572/1.029, allocations: 216 kB / 1.334 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/1.029, allocations: 61.66 kB / 1.334 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/1.03, allocations: 59.14 kB / 1.334 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.03, allocations: 9.312 kB / 1.334 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.03, allocations: 3.984 kB / 1.334 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.03, allocations: 3.938 kB / 1.334 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005561/1.03, allocations: 375.9 kB / 1.334 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.03, allocations: 5 kB / 1.334 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/1.03, allocations: 14.42 kB / 1.334 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.03, allocations: 1.094 kB / 1.334 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.03, allocations: 1.656 kB / 1.334 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.03, allocations: 1.031 kB / 1.334 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.03, allocations: 3.938 kB / 1.334 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/1.031, allocations: 224.9 kB / 1.334 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/1.031, allocations: 133.3 kB / 1.334 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/1.031, allocations: 10.11 kB / 1.334 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.031, allocations: 14.92 kB / 1.334 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/1.031, allocations: 15.39 kB / 1.334 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/1.031, allocations: 8.469 kB / 1.334 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006079/1.032, allocations: 479.1 kB / 1.335 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/1.032, allocations: 0 / 1.335 GB, free: 13.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003531/1.032, allocations: 68.73 kB / 1.335 GB, free: 13.97 MB / 1.029 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001672/1.034, allocations: 451.7 kB / 1.335 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004008/1.034, allocations: 151.9 kB / 1.336 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.034, allocations: 0 / 1.336 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/1.034, allocations: 49.59 kB / 1.336 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/1.035, allocations: 89.5 kB / 1.336 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/1.036, allocations: 0.904 MB / 1.337 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/1.037, allocations: 0.8678 MB / 1.337 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/1.037, allocations: 30.36 kB / 1.337 GB, free: 12.25 MB / 1.029 GB Notification: Performance of SimCode: time 7.31e-07/1.037, allocations: 0 / 1.337 GB, free: 12.25 MB / 1.029 GB Notification: Performance of Templates: time 0.0111/1.048, allocations: 5.9 MB / 1.343 GB, free: 9.031 MB / 1.029 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 -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: 12.65635141900566]