Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 292.6 MB / 307.8 MB, free: 7.109 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 189 kB / 376.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.7 MB / 0.655 GB, free: 13.07 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008785/0.0008786, allocations: 91.69 kB / 0.7711 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005566, allocations: 13.78 kB / 0.897 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7063, allocations: 118.2 MB / 1.012 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003183/0.7096, allocations: 2.09 MB / 1.014 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.7118, allocations: 1.442 MB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.712, allocations: 3.406 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.713, allocations: 290.9 kB / 1.016 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.7135, allocations: 181.5 kB / 1.016 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.7141, allocations: 223.9 kB / 1.017 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.7144, allocations: 341 kB / 1.017 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.7146, allocations: 72.52 kB / 1.017 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.7148, allocations: 136.2 kB / 1.017 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.7149, allocations: 149 kB / 1.017 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.715, allocations: 6.938 kB / 1.017 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.7152, allocations: 60.41 kB / 1.017 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.7153, allocations: 117.2 kB / 1.017 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.7154, allocations: 187.9 kB / 1.018 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.7158, allocations: 369.8 kB / 1.018 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7158, allocations: 3.938 kB / 1.018 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7158, allocations: 0 / 1.018 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.7158, allocations: 0 / 1.018 GB, free: 57.04 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.0009788/0.7168, allocations: 0.7652 MB / 1.019 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7169, allocations: 10 kB / 1.019 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.7169, allocations: 58.59 kB / 1.019 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.7175, allocations: 432.3 kB / 1.019 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.7175, allocations: 15.06 kB / 1.019 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.7175, allocations: 9.719 kB / 1.019 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.7178, allocations: 138.1 kB / 1.019 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7178, allocations: 0 / 1.019 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.7179, allocations: 7.094 kB / 1.019 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7179, allocations: 8.875 kB / 1.019 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.718, allocations: 64.41 kB / 1.019 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.7188, allocations: 0.5748 MB / 1.02 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.7191, allocations: 131.8 kB / 1.02 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.7192, allocations: 49.05 kB / 1.02 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.7193, allocations: 0.9375 kB / 1.02 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.7195, allocations: 116 kB / 1.02 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.7195, allocations: 3.938 kB / 1.02 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0004392/0.72, allocations: 233.3 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.72, allocations: 83.36 kB / 1.021 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.7207, allocations: 0.6815 MB / 1.021 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.7207, allocations: 31.73 kB / 1.021 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.7209, allocations: 264.8 kB / 1.021 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.7209, allocations: 31.95 kB / 1.021 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.7209, allocations: 4.625 kB / 1.021 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.721, allocations: 371.7 kB / 1.022 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.7211, allocations: 76.97 kB / 1.022 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.7213, allocations: 123.7 kB / 1.022 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.7215, allocations: 131.4 kB / 1.022 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7215, allocations: 3.938 kB / 1.022 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003689/0.7219, allocations: 269.8 kB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7219, allocations: 4 kB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7219, allocations: 0 / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.7219, allocations: 2.5 kB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.7221, allocations: 41.7 kB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.7221, allocations: 5.125 kB / 1.022 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.7222, allocations: 26.14 kB / 1.023 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.7223, allocations: 7.906 kB / 1.023 GB, free: 54.78 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 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.7224, allocations: 215.1 kB / 1.023 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.7225, allocations: 61.19 kB / 1.023 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.43e-05/0.7226, allocations: 57.7 kB / 1.023 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.7226, allocations: 1.438 kB / 1.023 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7226, allocations: 3.188 kB / 1.023 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7226, allocations: 1.375 kB / 1.023 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.7229, allocations: 374.5 kB / 1.023 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7229, allocations: 3.938 kB / 1.023 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.723, allocations: 9.625 kB / 1.023 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.723, allocations: 0.5 kB / 1.023 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.723, allocations: 3.031 kB / 1.023 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.723, allocations: 8.25 kB / 1.023 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.723, allocations: 2.016 kB / 1.023 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.7233, allocations: 223.8 kB / 1.023 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.7234, allocations: 139.4 kB / 1.024 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.7235, allocations: 7.312 kB / 1.024 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.7236, allocations: 14.09 kB / 1.024 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.7236, allocations: 18.7 kB / 1.024 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.7237, allocations: 9.156 kB / 1.024 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003891/0.7241, allocations: 462.6 kB / 1.024 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7241, allocations: 0 / 1.024 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002793/0.7244, allocations: 70.66 kB / 1.024 GB, free: 54.09 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009502/0.7253, allocations: 495.9 kB / 1.025 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.7256, allocations: 146.6 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7256, allocations: 0 / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.7257, allocations: 55.73 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.7262, allocations: 85.69 kB / 1.025 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.7272, allocations: 0.9307 MB / 1.026 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.7274, allocations: 0.8643 MB / 1.027 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.7276, allocations: 48.28 kB / 1.027 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.7277, allocations: 31.38 kB / 1.027 GB, free: 52.72 MB / 0.7136 GB Notification: Performance of SimCode: time 1.9e-07/0.7277, allocations: 0 / 1.027 GB, free: 52.72 MB / 0.7136 GB Notification: Performance of Templates: time 0.008046/0.7357, allocations: 4.01 MB / 1.031 GB, free: 52.48 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1)