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.0009737/0.0009737, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009266/0.0009266, allocations: 169 kB / 24.28 MB, free: 280 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.9014/0.9014, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.734/1.734, allocations: 359 MB / 0.6055 GB, free: 11.02 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 1.262e-06/1.262e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.748e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003054/0.003081, allocations: 2.499 MB / 0.7896 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.005097, allocations: 1.685 MB / 0.7912 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.005264, allocations: 7.938 kB / 0.7912 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.006058, allocations: 324.4 kB / 0.7915 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.00649, allocations: 272.6 kB / 0.7918 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.006871, allocations: 205.8 kB / 0.792 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.007251, allocations: 422.5 kB / 0.7924 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.007382, allocations: 40.91 kB / 0.7924 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.007612, allocations: 219.4 kB / 0.7926 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.007771, allocations: 148.7 kB / 0.7928 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.0078, allocations: 20 kB / 0.7928 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.00795, allocations: 87.81 kB / 0.7929 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.008059, allocations: 137.3 kB / 0.793 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.008147, allocations: 95.58 kB / 0.7931 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.00852, allocations: 362.5 kB / 0.7934 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008524, allocations: 0 / 0.7934 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008525, allocations: 1.188 kB / 0.7934 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.008531, allocations: 3.938 kB / 0.7934 GB, free: 6.332 MB / 0.7448 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.0008497/0.009381, allocations: 0.8984 MB / 0.7943 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.009417, allocations: 12.03 kB / 0.7943 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.009513, allocations: 72.52 kB / 0.7944 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.009903, allocations: 378.2 kB / 0.7948 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.009923, allocations: 6.281 kB / 0.7948 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.009942, allocations: 16.36 kB / 0.7948 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.01012, allocations: 119.3 kB / 0.7949 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.01013, allocations: 0 / 0.7949 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.01014, allocations: 8.875 kB / 0.7949 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.01015, allocations: 0 / 0.7949 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.01023, allocations: 42.12 kB / 0.7949 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.01087, allocations: 0.5665 MB / 0.7955 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.01103, allocations: 93.05 kB / 0.7956 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.01107, allocations: 27.67 kB / 0.7956 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.01109, allocations: 4 kB / 0.7956 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.01123, allocations: 131.2 kB / 0.7957 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.01123, allocations: 1.375 kB / 0.7957 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003392/0.01157, allocations: 187.2 kB / 0.7959 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.0116, allocations: 59.39 kB / 0.796 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.01208, allocations: 0.6569 MB / 0.7966 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.0121, allocations: 25.7 kB / 0.7966 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.01228, allocations: 343.2 kB / 0.797 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.01232, allocations: 40.5 kB / 0.797 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.01238, allocations: 63.3 kB / 0.7971 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01254, allocations: 0.5673 MB / 0.7976 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.937e-05/0.0126, allocations: 31.91 kB / 0.7977 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.0127, allocations: 141.1 kB / 0.7978 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.01281, allocations: 88.92 kB / 0.7979 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01281, allocations: 0.875 kB / 0.7979 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002278/0.01304, allocations: 211.1 kB / 0.7981 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01305, allocations: 4 kB / 0.7981 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01306, allocations: 0 / 0.7981 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01307, allocations: 4 kB / 0.7981 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01318, allocations: 27.98 kB / 0.7981 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01318, allocations: 12.61 kB / 0.7981 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.01328, allocations: 23.33 kB / 0.7981 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.0133, allocations: 11.94 kB / 0.7982 GB, free: 1.254 MB / 0.7448 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.0001156/0.01341, allocations: 178.5 kB / 0.7983 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.01346, allocations: 71.56 kB / 0.7984 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.0137, allocations: 174.8 kB / 0.7986 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.0137, allocations: 0 / 0.7986 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.01371, allocations: 7.938 kB / 0.7986 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01371, allocations: 4 kB / 0.7986 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.01397, allocations: 344.9 kB / 0.7989 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.01397, allocations: 0.5625 kB / 0.7989 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.014, allocations: 8 kB / 0.7989 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01401, allocations: 1.344 kB / 0.7989 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.01402, allocations: 11.98 kB / 0.7989 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01402, allocations: 0 / 0.7989 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01402, allocations: 0.625 kB / 0.7989 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.01423, allocations: 230.6 kB / 0.7991 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.01428, allocations: 52.28 kB / 0.7992 GB, free: 120 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.01431, allocations: 3.984 kB / 0.7992 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.841e-05/0.01437, allocations: 12.66 kB / 0.7992 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.01443, allocations: 22.39 kB / 0.7992 GB, free: 84 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01444, allocations: 11.94 kB / 0.7992 GB, free: 72 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002928/0.01473, allocations: 403 kB / 0.7996 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01473, allocations: 0 / 0.7996 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002238/0.01496, allocations: 71.88 kB / 0.7997 GB, free: 15.61 MB / 0.7605 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.000855/0.01581, allocations: 407.9 kB / 0.8001 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.01602, allocations: 104.1 kB / 0.8002 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01602, allocations: 0 / 0.8002 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.01608, allocations: 51.59 kB / 0.8002 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.01642, allocations: 104.5 kB / 0.8003 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.01748, allocations: 0.7542 MB / 0.8011 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.028e-05/0.01756, allocations: 140.2 kB / 0.8012 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.185e-05/0.01765, allocations: 46.95 kB / 0.8012 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.01771, allocations: 36.48 kB / 0.8013 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.01771, allocations: 0 / 0.8013 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of Templates: time 0.007737/0.02545, allocations: 4.612 MB / 0.8058 GB, free: 9.551 MB / 0.7605 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: 5.034145256970078]