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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 106.3 kB / 16.39 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 187.8 kB / 17.33 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.868/2.868, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8691, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004204/0.8734, allocations: 2.457 MB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002645/0.876, allocations: 1.584 MB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.8762, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009657/0.8772, allocations: 322.8 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000471/0.8777, allocations: 207.1 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/0.8784, allocations: 280.2 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.8789, allocations: 378.8 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.879, allocations: 68.69 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.8793, allocations: 163.3 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.8795, allocations: 167.2 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.8796, allocations: 20 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.8798, allocations: 75.95 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.8799, allocations: 139.4 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.8801, allocations: 186.6 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.8807, allocations: 0.4942 MB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8808, allocations: 0 / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8808, allocations: 4 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.8808, allocations: 4 kB / 1.174 GB, free: 13.27 MB / 0.9044 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.001345/0.8821, allocations: 0.845 MB / 1.175 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.8822, allocations: 20.84 kB / 1.175 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.8823, allocations: 60.52 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.8829, allocations: 441.4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.883, allocations: 15.94 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.883, allocations: 12 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.8833, allocations: 144.4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.8834, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.8834, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.8834, allocations: 7.938 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8836, allocations: 67.95 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009088/0.8845, allocations: 0.5745 MB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.8848, allocations: 126.7 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.8849, allocations: 44.83 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.885, allocations: 8 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.8852, allocations: 111.3 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 3.947e-06/0.8852, allocations: 3.984 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005664/0.8858, allocations: 238.7 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.8859, allocations: 81.11 kB / 1.176 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009247/0.8868, allocations: 0.6838 MB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.8869, allocations: 33.7 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.8871, allocations: 264.4 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.8872, allocations: 35.73 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.8873, allocations: 57.69 kB / 1.177 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002628/0.8876, allocations: 366.8 kB / 1.178 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.8877, allocations: 75.95 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.888, allocations: 125 kB / 1.178 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.8882, allocations: 140.9 kB / 1.178 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.8882, allocations: 3.938 kB / 1.178 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004688/0.8887, allocations: 274 kB / 1.178 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.8887, allocations: 10.72 kB / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8888, allocations: 0 / 1.178 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.8888, allocations: 4 kB / 1.178 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.889, allocations: 35.86 kB / 1.178 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.889, allocations: 8 kB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.8891, allocations: 19.94 kB / 1.178 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.8892, allocations: 11.98 kB / 1.178 GB, free: 8.113 MB / 0.9044 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.0002387/0.8894, allocations: 213.7 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.8895, allocations: 63.55 kB / 1.179 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.8896, allocations: 57.05 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8896, allocations: 4 kB / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8896, allocations: 0 / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8896, allocations: 0 / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.89, allocations: 373.4 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.89, allocations: 3.938 kB / 1.179 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.8901, allocations: 8 kB / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.8901, allocations: 0 / 1.179 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.8901, allocations: 3.984 kB / 1.179 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.8901, allocations: 8 kB / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8901, allocations: 0 / 1.179 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.8905, allocations: 225.9 kB / 1.179 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.8906, allocations: 128.7 kB / 1.179 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.8907, allocations: 8 kB / 1.179 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8908, allocations: 7.984 kB / 1.18 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.8909, allocations: 23.97 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.8909, allocations: 8 kB / 1.18 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005765/0.8915, allocations: 467 kB / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8915, allocations: 0 / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000314/0.8918, allocations: 71.88 kB / 1.18 GB, free: 6.387 MB / 0.9044 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * 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.001646/0.8935, allocations: 433.8 kB / 1.18 GB, free: 6.109 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.8939, allocations: 153.8 kB / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8939, allocations: 4 kB / 1.181 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.894, allocations: 59.91 kB / 1.181 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.8946, allocations: 95.28 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.896, allocations: 0.8514 MB / 1.182 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.8966, allocations: 0.8572 MB / 1.182 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.8967, allocations: 50.92 kB / 1.182 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.8968, allocations: 31.42 kB / 1.183 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.8968, allocations: 4 kB / 1.183 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of Templates: time 0.01097/0.9078, allocations: 4.378 MB / 1.187 GB, free: 15.62 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches