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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001166/0.001166, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 188.2 kB / 16.92 MB, free: 6.75 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004845, allocations: 16 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6474, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003251/0.6507, allocations: 2.158 MB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.6534, allocations: 1.53 MB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.6537, allocations: 7.938 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.6547, allocations: 310.8 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004976/0.6552, allocations: 191.4 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.6559, allocations: 243.5 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.6565, allocations: 370.7 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.6566, allocations: 70.67 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.6569, allocations: 147.2 kB / 1.029 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.6572, allocations: 147.3 kB / 1.029 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.6572, allocations: 8 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.6574, allocations: 63.94 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.6576, allocations: 111.5 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.6578, allocations: 204.3 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.6582, allocations: 371.1 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6582, allocations: 0 / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6582, allocations: 4 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.6582, allocations: 0 / 1.029 GB, free: 9.922 MB / 0.7794 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.001155/0.6594, allocations: 0.7523 MB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6595, allocations: 8.031 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.6596, allocations: 64.17 kB / 1.03 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.6602, allocations: 444.7 kB / 1.031 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.6602, allocations: 15.88 kB / 1.031 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.6603, allocations: 8 kB / 1.031 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.6606, allocations: 138.9 kB / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6606, allocations: 0 / 1.031 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.6606, allocations: 4 kB / 1.031 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.6606, allocations: 7.938 kB / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.6608, allocations: 71.95 kB / 1.031 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009206/0.6617, allocations: 0.5783 MB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.6621, allocations: 122.7 kB / 1.032 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.6622, allocations: 52.83 kB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.6622, allocations: 0 / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.6625, allocations: 127.2 kB / 1.032 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.6625, allocations: 0 / 1.032 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005253/0.6631, allocations: 225.1 kB / 1.032 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.6631, allocations: 81.11 kB / 1.032 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.6639, allocations: 0.6876 MB / 1.033 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.664, allocations: 33.7 kB / 1.033 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.6642, allocations: 256.3 kB / 1.033 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.6642, allocations: 39.55 kB / 1.033 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.6643, allocations: 29.7 kB / 1.033 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6645, allocations: 374.8 kB / 1.033 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.6646, allocations: 71.97 kB / 1.033 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.6648, allocations: 126.6 kB / 1.034 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.6651, allocations: 134.4 kB / 1.034 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6651, allocations: 7.938 kB / 1.034 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004865/0.6656, allocations: 259.3 kB / 1.034 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.6656, allocations: 8 kB / 1.034 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6656, allocations: 0 / 1.034 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6657, allocations: 0 / 1.034 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.6658, allocations: 43.91 kB / 1.034 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6658, allocations: 0 / 1.034 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.666, allocations: 35.89 kB / 1.034 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.6661, allocations: 4 kB / 1.034 GB, free: 4.902 MB / 0.7794 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.0002379/0.6663, allocations: 212 kB / 1.034 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.6664, allocations: 63.19 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.51e-05/0.6665, allocations: 57.05 kB / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6665, allocations: 0 / 1.034 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6665, allocations: 4 kB / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6665, allocations: 0 / 1.034 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.6669, allocations: 373.4 kB / 1.035 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6669, allocations: 7.938 kB / 1.035 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.667, allocations: 7.984 kB / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.667, allocations: 0 / 1.035 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.667, allocations: 11.94 kB / 1.035 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.667, allocations: 0 / 1.035 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.667, allocations: 0 / 1.035 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.6674, allocations: 228.3 kB / 1.035 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.6675, allocations: 136.3 kB / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.6676, allocations: 8 kB / 1.035 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.6677, allocations: 11.98 kB / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.6678, allocations: 19.97 kB / 1.035 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.6678, allocations: 4 kB / 1.035 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000514/0.6683, allocations: 471 kB / 1.036 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6683, allocations: 4 kB / 1.036 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003174/0.6686, allocations: 67.91 kB / 1.036 GB, free: 3.156 MB / 0.7794 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.001066/0.6697, allocations: 433.5 kB / 1.036 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.6701, allocations: 151.9 kB / 1.036 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6701, allocations: 0 / 1.036 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6702, allocations: 56.09 kB / 1.036 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.6708, allocations: 90.17 kB / 1.036 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.6724, allocations: 1.026 MB / 1.037 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.6729, allocations: 0.8575 MB / 1.038 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.673, allocations: 35.42 kB / 1.038 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.673, allocations: 0 / 1.038 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of Templates: time 0.009772/0.6828, allocations: 5.699 MB / 1.044 GB, free: 10.96 MB / 0.795 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 -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