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.001058/0.001058, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002457, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009801/0.0009801, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002203, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9131/0.9131, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08916/1.002, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.822/1.822, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4794/2.302, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.795e-06/2.795e-06, allocations: 4 kB / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.692e-05, allocations: 2.969 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004456/0.004483, allocations: 2.55 MB / 0.7318 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003234/0.007718, allocations: 1.718 MB / 0.7335 GB, free: 280 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.007978, allocations: 7.938 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.009017, allocations: 310.9 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000652/0.009669, allocations: 284 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.01027, allocations: 205.2 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.01079, allocations: 414.5 kB / 0.7347 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.01096, allocations: 43.5 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009212/0.01188, allocations: 359.8 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.0121, allocations: 139.5 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.01215, allocations: 21.75 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.01239, allocations: 79.94 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.01253, allocations: 123.6 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.01264, allocations: 79.62 kB / 0.7355 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005552/0.0132, allocations: 339.1 kB / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.078e-05/0.01322, allocations: 0 / 0.7358 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/0.01322, allocations: 4.875 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.01324, allocations: 0 / 0.7358 GB, free: 13.94 MB / 0.7136 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.001197/0.01444, allocations: 0.8233 MB / 0.7366 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.01448, allocations: 12.97 kB / 0.7366 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.0146, allocations: 40.89 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.01509, allocations: 351.8 kB / 0.737 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.01512, allocations: 13.27 kB / 0.737 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.01514, allocations: 12.38 kB / 0.737 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.01535, allocations: 120.9 kB / 0.7372 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01536, allocations: 0 / 0.7372 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.01538, allocations: 4 kB / 0.7372 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01538, allocations: 5.031 kB / 0.7372 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.01546, allocations: 23.92 kB / 0.7372 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.01607, allocations: 298.2 kB / 0.7375 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.01633, allocations: 119 kB / 0.7376 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.01637, allocations: 16.86 kB / 0.7376 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.01639, allocations: 5.219 kB / 0.7376 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.01658, allocations: 115.9 kB / 0.7377 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.01658, allocations: 0 / 0.7377 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002573/0.01684, allocations: 129.8 kB / 0.7378 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.01688, allocations: 55.34 kB / 0.7379 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005508/0.01743, allocations: 0.5571 MB / 0.7384 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.01746, allocations: 33.7 kB / 0.7385 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01758, allocations: 175.5 kB / 0.7386 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.01762, allocations: 39.72 kB / 0.7387 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.01771, allocations: 61.61 kB / 0.7387 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01786, allocations: 375.5 kB / 0.7391 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.01791, allocations: 22.81 kB / 0.7391 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.01816, allocations: 123.1 kB / 0.7392 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.01828, allocations: 78.73 kB / 0.7393 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01829, allocations: 0 / 0.7393 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002267/0.01851, allocations: 143.9 kB / 0.7394 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.01853, allocations: 8 kB / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01854, allocations: 2.75 kB / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.01855, allocations: 0 / 0.7395 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.01873, allocations: 47.91 kB / 0.7395 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01873, allocations: 0 / 0.7395 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.01885, allocations: 8 kB / 0.7395 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.01888, allocations: 15.98 kB / 0.7395 GB, free: 9.953 MB / 0.7136 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.000135/0.01901, allocations: 128.9 kB / 0.7396 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.01906, allocations: 39.95 kB / 0.7397 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.01929, allocations: 128.8 kB / 0.7398 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.0193, allocations: 4 kB / 0.7398 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.0193, allocations: 0 / 0.7398 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01931, allocations: 0 / 0.7398 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.01952, allocations: 196 kB / 0.74 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01952, allocations: 0 / 0.74 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.01959, allocations: 15.94 kB / 0.74 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.01965, allocations: 63.47 kB / 0.7401 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.01966, allocations: 4 kB / 0.7401 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01967, allocations: 4 kB / 0.7401 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01967, allocations: 0.875 kB / 0.7401 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01967, allocations: 3.938 kB / 0.7401 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.01985, allocations: 135.2 kB / 0.7402 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.0199, allocations: 7.984 kB / 0.7402 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.02, allocations: 18.53 kB / 0.7402 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.02006, allocations: 19.91 kB / 0.7403 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.02007, allocations: 7.984 kB / 0.7403 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003098/0.02038, allocations: 271.4 kB / 0.7405 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/0.02038, allocations: 0 / 0.7405 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002932/0.02067, allocations: 71.83 kB / 0.7406 GB, free: 8.809 MB / 0.7136 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.001916/0.02259, allocations: 0.5617 MB / 0.7411 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.02279, allocations: 91.11 kB / 0.7412 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.02281, allocations: 8 kB / 0.7412 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.02288, allocations: 36.78 kB / 0.7413 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.02328, allocations: 124.2 kB / 0.7414 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.02581, allocations: 0.7643 MB / 0.7421 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.02595, allocations: 140.2 kB / 0.7423 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.02611, allocations: 45.12 kB / 0.7423 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.02633, allocations: 111.3 kB / 0.7424 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of SimCode: time 1.954e-06/0.02633, allocations: 0 / 0.7424 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.01016/0.03649, allocations: 5.078 MB / 0.7474 GB, free: 2.328 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.01313788164407]