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.0009296/0.0009296, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008752/0.008752, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.748/2.748, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 8 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.7154, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003354/0.7188, allocations: 2.162 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.7215, allocations: 1.53 MB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.7218, allocations: 7.938 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.7228, allocations: 303 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.7233, allocations: 195.3 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007096/0.724, allocations: 243.2 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.7246, allocations: 374.7 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.7248, allocations: 70.69 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.725, allocations: 139.2 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.7253, allocations: 155.2 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.7253, allocations: 8 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.7255, allocations: 55.97 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.7257, allocations: 127.4 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.7259, allocations: 196.4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.7264, allocations: 478 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7264, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7264, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7265, allocations: 0 / 1.029 GB, free: 9.84 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.001191/0.7277, allocations: 0.7561 MB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7277, allocations: 16.03 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.7278, allocations: 56.19 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.7284, allocations: 440.7 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7284, allocations: 11.94 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.7285, allocations: 12 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.7288, allocations: 142.9 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7288, allocations: 0 / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.7288, allocations: 0 / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7289, allocations: 11.94 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.7291, allocations: 75.89 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009468/0.73, allocations: 0.5744 MB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.7303, allocations: 122.7 kB / 1.031 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.7304, allocations: 48.83 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.7305, allocations: 0 / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.7307, allocations: 115.3 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.7308, allocations: 4 kB / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005257/0.7313, allocations: 234.3 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.7313, allocations: 77.11 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000818/0.7322, allocations: 0.6915 MB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.7322, allocations: 25.7 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.7324, allocations: 264.3 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.7325, allocations: 43.55 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.7325, allocations: 29.7 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7327, allocations: 370.8 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.7329, allocations: 71.97 kB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.7331, allocations: 122.6 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.7333, allocations: 138.4 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7334, allocations: 3.938 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004592/0.7338, allocations: 266.9 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.7339, allocations: 7.984 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7339, allocations: 4 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7339, allocations: 0 / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.734, allocations: 43.92 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7341, allocations: 0 / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.7343, allocations: 31.83 kB / 1.034 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.7343, allocations: 4 kB / 1.034 GB, free: 4.816 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.0002295/0.7345, allocations: 212 kB / 1.034 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.7346, allocations: 59.19 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.7347, allocations: 64.98 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.7347, allocations: 4 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7347, allocations: 0 / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.7347, allocations: 3.984 kB / 1.034 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.7351, allocations: 373.4 kB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7351, allocations: 3.938 kB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.7351, allocations: 8 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.7351, allocations: 0 / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.7352, allocations: 4 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7352, allocations: 0 / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7352, allocations: 0 / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.7355, allocations: 225.6 kB / 1.034 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.7357, allocations: 140.3 kB / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.7357, allocations: 0 / 1.035 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.7359, allocations: 19.98 kB / 1.035 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.7359, allocations: 11.97 kB / 1.035 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.736, allocations: 16 kB / 1.035 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005463/0.7365, allocations: 463 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7365, allocations: 0 / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003305/0.7368, allocations: 71.89 kB / 1.035 GB, free: 3.078 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.001056/0.7379, allocations: 437.4 kB / 1.036 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.7383, allocations: 151.9 kB / 1.036 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7383, allocations: 4.125 kB / 1.036 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.7385, allocations: 55.98 kB / 1.036 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.739, allocations: 88.34 kB / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.7404, allocations: 0.9727 MB / 1.037 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.7409, allocations: 0.8652 MB / 1.038 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.7411, allocations: 42.95 kB / 1.038 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.7412, allocations: 27.42 kB / 1.038 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7412, allocations: 4 kB / 1.038 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of Templates: time 0.01001/0.7512, allocations: 4.07 MB / 1.042 GB, free: 12.52 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/jenkins/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