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.001937/0.001937, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002462/0.002462, allocations: 212.9 kB / 22.99 MB, free: 4.984 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.365/3.365, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.002158/0.002158, allocations: 68.98 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4823, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004963/0.4873, allocations: 2.417 MB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003171/0.4904, allocations: 1.622 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.4906, allocations: 11.94 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.4917, allocations: 310.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.4923, allocations: 278.8 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.4929, allocations: 200.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.4934, allocations: 414.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.4936, allocations: 56.81 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.4938, allocations: 163.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.4941, allocations: 183.2 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.123e-05/0.4941, allocations: 23.98 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.4943, allocations: 75.95 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.4945, allocations: 139.5 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.4947, allocations: 138.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.4954, allocations: 0.5249 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4954, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4954, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.4954, allocations: 0 / 1.333 GB, free: 10.4 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.001516/0.4969, allocations: 0.793 MB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.497, allocations: 11.97 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.4971, allocations: 64.52 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.4978, allocations: 383.4 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.4978, allocations: 20.11 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.4978, allocations: 8 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.4982, allocations: 144.6 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.4982, allocations: 0 / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.4982, allocations: 7.984 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4982, allocations: 4 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.4984, allocations: 71.91 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00098/0.4994, allocations: 0.4924 MB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.4997, allocations: 126.7 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.4998, allocations: 44.84 kB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4999, allocations: 4 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.5002, allocations: 144.1 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.5002, allocations: 11.88 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008184/0.501, allocations: 241.2 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.501, allocations: 59.34 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5022, allocations: 0.7073 MB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.5022, allocations: 29.7 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.5025, allocations: 276.4 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.5025, allocations: 31.75 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.5026, allocations: 53.69 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.5029, allocations: 378.8 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.503, allocations: 71.97 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.5033, allocations: 172.9 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.5035, allocations: 144.6 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5035, allocations: 4 kB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000565/0.5041, allocations: 277.1 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5041, allocations: 8 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.5041, allocations: 3.938 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5041, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.5043, allocations: 39.91 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5043, allocations: 4 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.5045, allocations: 27.94 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.5045, allocations: 12 kB / 1.338 GB, free: 5.352 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.0002692/0.5048, allocations: 208 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.5049, allocations: 59.62 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.5053, allocations: 221 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.5053, allocations: 11.92 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5053, allocations: 0 / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.5053, allocations: 3.984 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.5057, allocations: 301.1 kB / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5057, allocations: 0 / 1.339 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.5058, allocations: 15.94 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5058, allocations: 0 / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5058, allocations: 3.984 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5058, allocations: 7.875 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5058, allocations: 4 kB / 1.339 GB, free: 4.484 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.5062, allocations: 236.6 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5063, allocations: 59.55 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.5064, allocations: 4 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5065, allocations: 19.92 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.5066, allocations: 19.97 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.5066, allocations: 7.938 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007408/0.5073, allocations: 487 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5073, allocations: 0 / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003371/0.5077, allocations: 67.89 kB / 1.34 GB, free: 3.59 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.00182/0.5095, allocations: 460 kB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.5099, allocations: 159.6 kB / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5099, allocations: 0 / 1.34 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.51, allocations: 63.91 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.5106, allocations: 88.12 kB / 1.341 GB, free: 3.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.5121, allocations: 0.8719 MB / 1.341 GB, free: 2.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5125, allocations: 266.7 kB / 1.342 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00015/0.5127, allocations: 50.92 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.5128, allocations: 31.42 kB / 1.342 GB, free: 1.758 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.5128, allocations: 4 kB / 1.342 GB, free: 1.754 MB / 1.029 GB Notification: Performance of Templates: time 0.01258/0.5254, allocations: 5.091 MB / 1.347 GB, free: 12.74 MB / 1.045 GB " [Timeout remaining time 299] 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 -s cvode -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: 10.278662056996836]