Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000933/0.000933, allocations: 77.97 kB / 20.68 MB, free: 3.809 MB / 18.57 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.001048/0.001048, allocations: 177 kB / 24.09 MB, free: 412 kB / 18.57 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 0.9002/0.9002, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.79/1.79, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7876 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.409e-05, allocations: 2.312 kB / 0.7876 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003668/0.003692, allocations: 2.479 MB / 0.79 GB, free: 8.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001958/0.00565, allocations: 1.663 MB / 0.7916 GB, free: 6.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.005804, allocations: 7.938 kB / 0.7916 GB, free: 6.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.006546, allocations: 319.8 kB / 0.7919 GB, free: 6.578 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004231/0.006969, allocations: 280.9 kB / 0.7922 GB, free: 6.309 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.00734, allocations: 204.7 kB / 0.7924 GB, free: 6.109 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.007697, allocations: 418.5 kB / 0.7928 GB, free: 5.699 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.007822, allocations: 47.88 kB / 0.7928 GB, free: 5.656 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.008453, allocations: 264.9 kB / 0.7931 GB, free: 5.418 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.008634, allocations: 139.6 kB / 0.7932 GB, free: 5.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.00867, allocations: 20 kB / 0.7932 GB, free: 5.262 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.008821, allocations: 83.88 kB / 0.7933 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.00893, allocations: 139.5 kB / 0.7935 GB, free: 5.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.009008, allocations: 91.59 kB / 0.7935 GB, free: 4.953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.009404, allocations: 366.9 kB / 0.7939 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.009407, allocations: 0.6875 kB / 0.7939 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/0.009409, allocations: 0 / 0.7939 GB, free: 4.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.009415, allocations: 0.5312 kB / 0.7939 GB, free: 4.594 MB / 0.698 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.0008222/0.01024, allocations: 0.9054 MB / 0.7948 GB, free: 3.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01027, allocations: 8.031 kB / 0.7948 GB, free: 3.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.01035, allocations: 68.56 kB / 0.7949 GB, free: 3.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.01078, allocations: 383.9 kB / 0.7952 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.0108, allocations: 8.547 kB / 0.7952 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.01082, allocations: 12.38 kB / 0.7952 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.01097, allocations: 117.1 kB / 0.7954 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.01097, allocations: 1.156 kB / 0.7954 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.01098, allocations: 8 kB / 0.7954 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01099, allocations: 0 / 0.7954 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.01104, allocations: 29.09 kB / 0.7954 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.01157, allocations: 473.8 kB / 0.7958 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.0117, allocations: 83.2 kB / 0.7959 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.01174, allocations: 23.67 kB / 0.7959 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.01175, allocations: 10.05 kB / 0.796 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.0119, allocations: 121.2 kB / 0.7961 GB, free: 2.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.0119, allocations: 3.938 kB / 0.7961 GB, free: 2.227 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000254/0.01215, allocations: 185.2 kB / 0.7962 GB, free: 2.039 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01218, allocations: 52.06 kB / 0.7963 GB, free: 1.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.01276, allocations: 0.6359 MB / 0.7969 GB, free: 1.324 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01278, allocations: 41.12 kB / 0.797 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.01295, allocations: 335.1 kB / 0.7973 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.01299, allocations: 39.72 kB / 0.7973 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.01305, allocations: 67.22 kB / 0.7974 GB, free: 0.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01322, allocations: 0.578 MB / 0.7979 GB, free: 248 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.01326, allocations: 19.98 kB / 0.798 GB, free: 228 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.01333, allocations: 125.8 kB / 0.7981 GB, free: 68 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.01344, allocations: 87.11 kB / 0.7982 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01344, allocations: 0.5625 kB / 0.7982 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002851/0.01372, allocations: 198.7 kB / 0.7984 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01374, allocations: 4 kB / 0.7984 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01374, allocations: 0 / 0.7984 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.01375, allocations: 5.688 kB / 0.7984 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.01385, allocations: 39.91 kB / 0.7984 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01385, allocations: 4 kB / 0.7984 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.01393, allocations: 23.83 kB / 0.7984 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.01394, allocations: 8.891 kB / 0.7984 GB, free: 15.69 MB / 0.7136 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.000113/0.01406, allocations: 179.3 kB / 0.7986 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.0141, allocations: 63.58 kB / 0.7987 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.01431, allocations: 167.8 kB / 0.7988 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01431, allocations: 4 kB / 0.7988 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01431, allocations: 1.344 kB / 0.7988 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01431, allocations: 3.984 kB / 0.7988 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.01451, allocations: 249 kB / 0.7991 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01451, allocations: 0 / 0.7991 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.17e-05/0.01454, allocations: 12.86 kB / 0.7991 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01454, allocations: 0 / 0.7991 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.01455, allocations: 6.406 kB / 0.7991 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01455, allocations: 7.875 kB / 0.7991 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01455, allocations: 0 / 0.7991 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.01472, allocations: 222.2 kB / 0.7993 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.01477, allocations: 47.62 kB / 0.7994 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.0148, allocations: 8 kB / 0.7994 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.01485, allocations: 14.92 kB / 0.7994 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.01489, allocations: 15.97 kB / 0.7994 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.0149, allocations: 8 kB / 0.7994 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002208/0.01512, allocations: 382.9 kB / 0.7998 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01513, allocations: 0 / 0.7998 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002026/0.01533, allocations: 63.89 kB / 0.7998 GB, free: 14.21 MB / 0.7136 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.0008426/0.01617, allocations: 431.8 kB / 0.8002 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01632, allocations: 95.53 kB / 0.8003 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.01632, allocations: 4 kB / 0.8003 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.01637, allocations: 47.59 kB / 0.8004 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01667, allocations: 96.31 kB / 0.8005 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.01757, allocations: 0.7428 MB / 0.8012 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.986e-05/0.01765, allocations: 136.2 kB / 0.8013 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.374e-05/0.01773, allocations: 46.94 kB / 0.8014 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.01787, allocations: 130.2 kB / 0.8015 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.01787, allocations: 0 / 0.8015 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.00824/0.02611, allocations: 5.013 MB / 0.8064 GB, free: 7.688 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.889958522748202]