Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008054/0.0008054, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008142/0.0008142, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.8658/0.8658, allocations: 177.2 MB / 203.5 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.9517 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.135e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002658/0.002679, allocations: 2.418 MB / 0.9541 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.004571, allocations: 1.618 MB / 0.9557 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004685, allocations: 7.938 kB / 0.9557 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.005369, allocations: 314.7 kB / 0.956 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.005718, allocations: 281.3 kB / 0.9563 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.006005, allocations: 211.4 kB / 0.9565 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.006304, allocations: 418.5 kB / 0.9569 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.006423, allocations: 48.83 kB / 0.9569 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.006593, allocations: 215.4 kB / 0.9571 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.006735, allocations: 147.6 kB / 0.9573 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.006763, allocations: 20 kB / 0.9573 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.006886, allocations: 87.81 kB / 0.9574 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.006988, allocations: 139.5 kB / 0.9575 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.007066, allocations: 99.58 kB / 0.9576 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.007457, allocations: 0.4982 MB / 0.9581 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.007459, allocations: 0 / 0.9581 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.294e-06/0.007462, allocations: 3.984 kB / 0.9581 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.007467, allocations: 0 / 0.9581 GB, free: 12.46 MB / 0.9167 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.000811/0.008278, allocations: 0.7852 MB / 0.9588 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.008312, allocations: 12.03 kB / 0.9589 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.008382, allocations: 64.52 kB / 0.9589 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.008749, allocations: 382.5 kB / 0.9593 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.008766, allocations: 12.56 kB / 0.9593 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.008782, allocations: 8.375 kB / 0.9593 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.008975, allocations: 151.2 kB / 0.9594 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.008983, allocations: 0 / 0.9594 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.008996, allocations: 4 kB / 0.9594 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.009, allocations: 0 / 0.9594 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.009115, allocations: 75.95 kB / 0.9595 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.009651, allocations: 0.4884 MB / 0.96 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.009841, allocations: 130.7 kB / 0.9601 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.009905, allocations: 48.83 kB / 0.9602 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.009921, allocations: 3.938 kB / 0.9602 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.01009, allocations: 145 kB / 0.9603 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.01009, allocations: 0 / 0.9603 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0003305/0.01042, allocations: 238.8 kB / 0.9605 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.01046, allocations: 59.39 kB / 0.9606 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.01095, allocations: 0.7073 MB / 0.9613 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.01096, allocations: 33.7 kB / 0.9613 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.01125, allocations: 272.5 kB / 0.9616 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.01128, allocations: 35.73 kB / 0.9616 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.01134, allocations: 53.7 kB / 0.9617 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01146, allocations: 374.7 kB / 0.962 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.01155, allocations: 75.95 kB / 0.9621 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.01167, allocations: 175.6 kB / 0.9623 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.01182, allocations: 141.2 kB / 0.9624 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01183, allocations: 0 / 0.9624 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002727/0.0121, allocations: 283.1 kB / 0.9627 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.01212, allocations: 4 kB / 0.9627 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01212, allocations: 0 / 0.9627 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01213, allocations: 4 kB / 0.9627 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.01222, allocations: 35.92 kB / 0.9627 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.01223, allocations: 7.938 kB / 0.9627 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.01231, allocations: 31.88 kB / 0.9627 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.01233, allocations: 8 kB / 0.9628 GB, free: 7.445 MB / 0.9167 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.0001512/0.01248, allocations: 219.7 kB / 0.963 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.01251, allocations: 55.62 kB / 0.963 GB, free: 7.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.01277, allocations: 230.3 kB / 0.9632 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01277, allocations: 0 / 0.9632 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01278, allocations: 3.938 kB / 0.9632 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01278, allocations: 0 / 0.9632 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.01297, allocations: 297.1 kB / 0.9635 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01297, allocations: 3.938 kB / 0.9635 GB, free: 6.609 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.013, allocations: 19.92 kB / 0.9635 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.013, allocations: 0 / 0.9635 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.01301, allocations: 4 kB / 0.9635 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01301, allocations: 4 kB / 0.9636 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01302, allocations: 0 / 0.9636 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01322, allocations: 244.5 kB / 0.9638 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.01327, allocations: 55.56 kB / 0.9638 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.0133, allocations: 8 kB / 0.9638 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.01335, allocations: 11.98 kB / 0.9639 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.0134, allocations: 23.91 kB / 0.9639 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01341, allocations: 11.92 kB / 0.9639 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003246/0.01373, allocations: 483 kB / 0.9644 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01373, allocations: 0 / 0.9644 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001992/0.01393, allocations: 67.92 kB / 0.9644 GB, free: 5.684 MB / 0.9167 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.0007238/0.01466, allocations: 457.1 kB / 0.9649 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.01489, allocations: 159.8 kB / 0.965 GB, free: 5.254 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01489, allocations: 3.938 kB / 0.965 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.01497, allocations: 63.91 kB / 0.9651 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.01525, allocations: 91.97 kB / 0.9652 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.0161, allocations: 0.8944 MB / 0.966 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.01626, allocations: 270.7 kB / 0.9663 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.01632, allocations: 36.48 kB / 0.9663 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.01632, allocations: 0 / 0.9663 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of Templates: time 0.005693/0.02201, allocations: 6.128 MB / 0.9723 GB, free: 13.75 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.8099596463143826]