Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 189.1 kB / 22.22 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.365/3.365, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.67 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5064, allocations: 174.9 MB / 1.316 GB, free: 9.672 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004758/0.5111, allocations: 2.505 MB / 1.318 GB, free: 7.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.5141, allocations: 1.592 MB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.5143, allocations: 7.938 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.5155, allocations: 327 kB / 1.32 GB, free: 5.234 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.516, allocations: 226 kB / 1.321 GB, free: 5.016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.5168, allocations: 274.9 kB / 1.321 GB, free: 4.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.5173, allocations: 382.7 kB / 1.321 GB, free: 4.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.5175, allocations: 44.91 kB / 1.321 GB, free: 4.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.5178, allocations: 175.2 kB / 1.321 GB, free: 4.152 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.518, allocations: 171.2 kB / 1.322 GB, free: 3.984 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.5181, allocations: 20 kB / 1.322 GB, free: 3.965 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.5183, allocations: 87.88 kB / 1.322 GB, free: 3.879 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.5185, allocations: 135.5 kB / 1.322 GB, free: 3.746 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.5187, allocations: 190.5 kB / 1.322 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007112/0.5194, allocations: 0.4899 MB / 1.322 GB, free: 3.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5194, allocations: 0 / 1.322 GB, free: 3.066 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5194, allocations: 0 / 1.322 GB, free: 3.066 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.5195, allocations: 3.938 kB / 1.322 GB, free: 3.062 MB / 1.014 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.001425/0.5209, allocations: 0.7775 MB / 1.323 GB, free: 2.246 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.5209, allocations: 8.031 kB / 1.323 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.521, allocations: 68.55 kB / 1.323 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.5217, allocations: 375.5 kB / 1.324 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.5217, allocations: 15.94 kB / 1.324 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.5217, allocations: 4 kB / 1.324 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.5221, allocations: 149.3 kB / 1.324 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5221, allocations: 3.938 kB / 1.324 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.5221, allocations: 4 kB / 1.324 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.5221, allocations: 11.92 kB / 1.324 GB, free: 1.582 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.5223, allocations: 63.97 kB / 1.324 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.5234, allocations: 0.5423 MB / 1.324 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.5237, allocations: 130.6 kB / 1.325 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5238, allocations: 36.84 kB / 1.325 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.5239, allocations: 4 kB / 1.325 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.5241, allocations: 115.3 kB / 1.325 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.5241, allocations: 0 / 1.325 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0005961/0.5247, allocations: 245.3 kB / 1.325 GB, free: 392 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.5248, allocations: 77.11 kB / 1.325 GB, free: 296 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/0.5257, allocations: 0.676 MB / 1.326 GB, free: 15.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5258, allocations: 33.7 kB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.526, allocations: 268.3 kB / 1.326 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.5261, allocations: 35.78 kB / 1.326 GB, free: 15.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.5262, allocations: 61.66 kB / 1.326 GB, free: 15.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.5264, allocations: 370.8 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.5266, allocations: 71.97 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5268, allocations: 123.7 kB / 1.327 GB, free: 14.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.5271, allocations: 136.4 kB / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5271, allocations: 3.938 kB / 1.327 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005066/0.5276, allocations: 269.7 kB / 1.327 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5276, allocations: 7.938 kB / 1.327 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5276, allocations: 4 kB / 1.327 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5277, allocations: 3.984 kB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.5279, allocations: 39.98 kB / 1.327 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5279, allocations: 0 / 1.327 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.528, allocations: 27.88 kB / 1.327 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.5281, allocations: 4 kB / 1.327 GB, free: 14.11 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.0002842/0.5283, allocations: 211.5 kB / 1.327 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.5284, allocations: 59.56 kB / 1.327 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.5289, allocations: 213.1 kB / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5289, allocations: 4 kB / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5289, allocations: 3.938 kB / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5289, allocations: 0 / 1.328 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.5293, allocations: 352.4 kB / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5293, allocations: 3.938 kB / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.5293, allocations: 7.938 kB / 1.328 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5293, allocations: 4 kB / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.5293, allocations: 3.984 kB / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5293, allocations: 0 / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5293, allocations: 0 / 1.328 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.5298, allocations: 224.7 kB / 1.328 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.5299, allocations: 51.56 kB / 1.328 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.5299, allocations: 8 kB / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.53, allocations: 7.984 kB / 1.328 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.5301, allocations: 23.91 kB / 1.328 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.5301, allocations: 4 kB / 1.328 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006375/0.5308, allocations: 475 kB / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5308, allocations: 0 / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003292/0.5311, allocations: 67.92 kB / 1.329 GB, free: 12.36 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 (13): * Single equations (assignments): 9 * 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.001722/0.5328, allocations: 431.3 kB / 1.329 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.5332, allocations: 145.2 kB / 1.329 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5332, allocations: 0 / 1.329 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.5334, allocations: 56.05 kB / 1.329 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.5339, allocations: 93.84 kB / 1.329 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.5354, allocations: 0.8444 MB / 1.33 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/0.5361, allocations: 0.8663 MB / 1.331 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.5363, allocations: 42.95 kB / 1.331 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.5364, allocations: 35.42 kB / 1.331 GB, free: 9.961 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/0.5364, allocations: 0 / 1.331 GB, free: 9.961 MB / 1.029 GB Notification: Performance of Templates: time 0.01148/0.5479, allocations: 4.455 MB / 1.335 GB, free: 5.543 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.257877878844738]