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.001612/0.001612, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001813/0.001813, allocations: 214.4 kB / 23.04 MB, free: 4.867 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.236/3.236, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002035/0.002035, allocations: 63.03 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3657, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004422/0.3701, allocations: 2.417 MB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.3731, allocations: 1.625 MB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.3733, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009988/0.3743, allocations: 318.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.3749, allocations: 272.1 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.3755, allocations: 210.6 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.376, allocations: 414.6 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.3762, allocations: 52.81 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.3764, allocations: 163.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3767, allocations: 175.2 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.3767, allocations: 20 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.377, allocations: 83.88 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.3771, allocations: 131.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.3773, allocations: 150.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.378, allocations: 0.5172 MB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3781, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3781, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.3781, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 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.001339/0.3794, allocations: 0.7969 MB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3794, allocations: 8.031 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.3796, allocations: 64.52 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.3801, allocations: 387.3 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3802, allocations: 20.12 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.3802, allocations: 11.98 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.3805, allocations: 144.8 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3805, allocations: 0 / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3805, allocations: 7.984 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3805, allocations: 4 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.3807, allocations: 75.89 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009424/0.3817, allocations: 0.4885 MB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.382, allocations: 130.7 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3822, allocations: 40.84 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3822, allocations: 0 / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.3824, allocations: 148.9 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3824, allocations: 0 / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000547/0.383, allocations: 241.2 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.383, allocations: 59.34 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.3839, allocations: 0.7112 MB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.3839, allocations: 33.7 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.3842, allocations: 272.4 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.3842, allocations: 39.73 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.3843, allocations: 49.7 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3845, allocations: 370.8 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.3847, allocations: 75.97 kB / 1.338 GB, free: 6.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.3849, allocations: 173.3 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.3852, allocations: 148.2 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3853, allocations: 0 / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00048/0.3857, allocations: 279.2 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3857, allocations: 4 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3858, allocations: 11.92 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3858, allocations: 0 / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3859, allocations: 39.92 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.386, allocations: 3.938 kB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.3861, allocations: 31.94 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3861, allocations: 4 kB / 1.338 GB, free: 5.379 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.0002483/0.3864, allocations: 212 kB / 1.338 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3865, allocations: 55.62 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.3869, allocations: 226.7 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3869, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3869, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3869, allocations: 7.984 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.3873, allocations: 301 kB / 1.339 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3873, allocations: 4 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.3873, allocations: 8 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3873, allocations: 3.984 kB / 1.339 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3873, allocations: 8 kB / 1.339 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3873, allocations: 3.938 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3873, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.3877, allocations: 232.6 kB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-05/0.3878, allocations: 67.53 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.3879, allocations: 4 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.388, allocations: 19.92 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.3881, allocations: 19.91 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3881, allocations: 8 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006068/0.3887, allocations: 483 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3887, allocations: 0 / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003329/0.389, allocations: 71.89 kB / 1.34 GB, free: 3.617 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 (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.001731/0.3908, allocations: 456.8 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.3911, allocations: 163.8 kB / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3911, allocations: 0 / 1.34 GB, free: 3.188 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3913, allocations: 55.92 kB / 1.341 GB, free: 3.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.3918, allocations: 97.08 kB / 1.341 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3932, allocations: 0.9126 MB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3935, allocations: 266.7 kB / 1.342 GB, free: 1.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.3936, allocations: 39.42 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.3936, allocations: 0 / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of Templates: time 0.01025/0.4039, allocations: 6.115 MB / 1.348 GB, free: 11.68 MB / 1.045 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=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.362435359042138]