Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001366/0.001366, allocations: 114.2 kB / 18.94 MB, free: 2.953 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.001526/0.001526, allocations: 187.7 kB / 22.23 MB, free: 5.137 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.529/1.529, 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 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 443.5 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 67.89 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8789, allocations: 160.8 MB / 1.218 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004211/0.8831, allocations: 2.491 MB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.886, allocations: 1.617 MB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.8863, allocations: 6.406 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.8873, allocations: 328.3 kB / 1.223 GB, free: 284 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.8879, allocations: 215.1 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.8886, allocations: 276.3 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000613/0.8893, allocations: 382.9 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.8894, allocations: 49.55 kB / 1.224 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.8897, allocations: 172.6 kB / 1.224 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.89, allocations: 175.7 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.8901, allocations: 22.94 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.8903, allocations: 82.91 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.8905, allocations: 132.2 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.8907, allocations: 193.3 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000818/0.8916, allocations: 0.4966 MB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.8916, allocations: 1.062 kB / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8916, allocations: 0 / 1.225 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.8916, allocations: 0 / 1.225 GB, free: 14.86 MB / 0.9356 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.00153/0.8931, allocations: 0.8598 MB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.8931, allocations: 8.562 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.8933, allocations: 64.48 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.894, allocations: 437.1 kB / 1.226 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.894, allocations: 8.188 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.894, allocations: 11.78 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.8944, allocations: 142.6 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8944, allocations: 4 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.8944, allocations: 2.469 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.8944, allocations: 13.2 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.8946, allocations: 68.44 kB / 1.226 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.8956, allocations: 0.5733 MB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.8959, allocations: 120.5 kB / 1.227 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.896, allocations: 47.81 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.896, allocations: 6.562 kB / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.8963, allocations: 111.8 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.8963, allocations: 4 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005496/0.8968, allocations: 232.8 kB / 1.228 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.8969, allocations: 78.45 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/0.8978, allocations: 0.685 MB / 1.228 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.8978, allocations: 36.2 kB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.8981, allocations: 264.2 kB / 1.229 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.8981, allocations: 38.31 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.8982, allocations: 63.72 kB / 1.229 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.8984, allocations: 370.7 kB / 1.229 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.8986, allocations: 71.12 kB / 1.229 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.8988, allocations: 120.6 kB / 1.229 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.8991, allocations: 136.5 kB / 1.229 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8991, allocations: 3.938 kB / 1.229 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005127/0.8996, allocations: 272.1 kB / 1.23 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8996, allocations: 6.344 kB / 1.23 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8996, allocations: 0 / 1.23 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.8997, allocations: 2.188 kB / 1.23 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.8998, allocations: 36.05 kB / 1.23 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.8998, allocations: 9.5 kB / 1.23 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.9, allocations: 25.75 kB / 1.23 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.9001, allocations: 13.23 kB / 1.23 GB, free: 11.12 MB / 0.9356 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.0002467/0.9003, allocations: 206.7 kB / 1.23 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.9004, allocations: 61.12 kB / 1.23 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.9008, allocations: 204.4 kB / 1.23 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.9008, allocations: 1.281 kB / 1.23 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9008, allocations: 4 kB / 1.23 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9008, allocations: 5.203 kB / 1.23 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.9012, allocations: 365 kB / 1.231 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9012, allocations: 5.094 kB / 1.231 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.9012, allocations: 10.41 kB / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.9013, allocations: 1.156 kB / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.9013, allocations: 1.469 kB / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.9013, allocations: 1.156 kB / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9013, allocations: 0 / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.9017, allocations: 233 kB / 1.231 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.9018, allocations: 132.7 kB / 1.231 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.9019, allocations: 4 kB / 1.231 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.902, allocations: 11.98 kB / 1.231 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.9021, allocations: 19.97 kB / 1.231 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.9021, allocations: 4 kB / 1.231 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005903/0.9027, allocations: 467 kB / 1.231 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9027, allocations: 4 kB / 1.231 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003592/0.903, allocations: 71.88 kB / 1.231 GB, free: 9.594 MB / 0.9356 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.001583/0.9046, allocations: 429.3 kB / 1.232 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003894/0.905, allocations: 147.9 kB / 1.232 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.905, allocations: 4 kB / 1.232 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.9051, allocations: 52.03 kB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.9056, allocations: 102.6 kB / 1.232 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.9072, allocations: 0.847 MB / 1.233 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.9078, allocations: 0.8617 MB / 1.234 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000171/0.9079, allocations: 50.92 kB / 1.234 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.908, allocations: 31.42 kB / 1.234 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of SimCode: time 9.22e-07/0.908, allocations: 0 / 1.234 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of Templates: time 0.01101/0.919, allocations: 4.445 MB / 1.238 GB, free: 2.773 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.213219660334289]