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.001914/0.001914, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002005/0.002005, allocations: 157.7 kB / 23.55 MB, free: 0.875 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 1.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.098/3.098, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.154e-06/2.154e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/3.52e-05, allocations: 3.5 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005093/0.005128, allocations: 2.494 MB / 0.8133 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004015/0.009144, allocations: 1.659 MB / 0.8149 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.009346, allocations: 7.938 kB / 0.8149 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01048, allocations: 320.8 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.01115, allocations: 276.9 kB / 0.8155 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006066/0.01175, allocations: 203.4 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005983/0.01235, allocations: 426.4 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.01251, allocations: 45.62 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.01287, allocations: 219.4 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.01314, allocations: 144.1 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.0132, allocations: 21.66 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.01343, allocations: 83.88 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.01363, allocations: 139.5 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.01378, allocations: 99.58 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.01453, allocations: 0.4943 MB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.01454, allocations: 1.156 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01454, allocations: 0 / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.01455, allocations: 0 / 0.8173 GB, free: 11.53 MB / 0.7761 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.001581/0.01613, allocations: 0.9367 MB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.01618, allocations: 8.031 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.01633, allocations: 77.34 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.01698, allocations: 371.2 kB / 0.8186 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.017, allocations: 8.562 kB / 0.8186 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.01703, allocations: 8.375 kB / 0.8186 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.01734, allocations: 141.1 kB / 0.8188 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01735, allocations: 0 / 0.8188 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.01737, allocations: 8.797 kB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01738, allocations: 4 kB / 0.8188 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.01757, allocations: 66.17 kB / 0.8188 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01874, allocations: 0.6205 MB / 0.8194 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.01907, allocations: 123.2 kB / 0.8196 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01919, allocations: 39.67 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.01921, allocations: 2.062 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.01951, allocations: 149.5 kB / 0.8197 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.01951, allocations: 0 / 0.8197 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0005951/0.02011, allocations: 229.2 kB / 0.82 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.02016, allocations: 51.41 kB / 0.82 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.02117, allocations: 0.7423 MB / 0.8207 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.0212, allocations: 30.73 kB / 0.8208 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.02158, allocations: 367.1 kB / 0.8211 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.02164, allocations: 43.73 kB / 0.8212 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.02176, allocations: 72.44 kB / 0.8212 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0006828/0.02244, allocations: 0.5937 MB / 0.8218 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.02259, allocations: 55.97 kB / 0.8219 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.02283, allocations: 166.6 kB / 0.822 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.02311, allocations: 127.2 kB / 0.8221 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.02311, allocations: 0 / 0.8221 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004824/0.02359, allocations: 249.2 kB / 0.8224 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.02361, allocations: 4.5 kB / 0.8224 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.02362, allocations: 3.938 kB / 0.8224 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.02364, allocations: 5.344 kB / 0.8224 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.0238, allocations: 27.98 kB / 0.8224 GB, free: 6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.02382, allocations: 11.92 kB / 0.8224 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.02399, allocations: 16.64 kB / 0.8224 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.02401, allocations: 4.656 kB / 0.8224 GB, free: 5.969 MB / 0.7761 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.0002206/0.02423, allocations: 199 kB / 0.8226 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.28e-05/0.02433, allocations: 75.11 kB / 0.8227 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.02478, allocations: 204.8 kB / 0.8229 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.02479, allocations: 4 kB / 0.8229 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.0248, allocations: 3.938 kB / 0.8229 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.0248, allocations: 0 / 0.8229 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.02535, allocations: 388.4 kB / 0.8233 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02535, allocations: 0 / 0.8233 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.02541, allocations: 12 kB / 0.8233 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.02541, allocations: 7.984 kB / 0.8233 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.02543, allocations: 0 / 0.8233 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.02543, allocations: 2.094 kB / 0.8233 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02543, allocations: 3.938 kB / 0.8233 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.02589, allocations: 251.8 kB / 0.8235 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.026, allocations: 55.56 kB / 0.8236 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.02606, allocations: 8 kB / 0.8236 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.02617, allocations: 8.984 kB / 0.8236 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.02625, allocations: 19.97 kB / 0.8236 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.02627, allocations: 13.05 kB / 0.8236 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005966/0.02687, allocations: 455 kB / 0.8241 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02687, allocations: 0 / 0.8241 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003392/0.02721, allocations: 71.88 kB / 0.8241 GB, free: 4.16 MB / 0.7761 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.003105/0.03031, allocations: 461.8 kB / 0.8246 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.03072, allocations: 150.5 kB / 0.8247 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03073, allocations: 0 / 0.8247 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.0309, allocations: 67.59 kB / 0.8248 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.03147, allocations: 99.25 kB / 0.8249 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.03292, allocations: 0.7738 MB / 0.8256 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.03323, allocations: 259.4 kB / 0.8259 GB, free: 2.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.03338, allocations: 42.95 kB / 0.8259 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.711e-05/0.03348, allocations: 32.48 kB / 0.826 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.03348, allocations: 0 / 0.826 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.0125/0.04598, allocations: 4.61 MB / 0.8305 GB, free: 13.9 MB / 0.7917 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/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: 8.71423695399426]