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.00106/0.00106, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001814/0.001814, allocations: 161.4 kB / 23.82 MB, free: 0.7578 MB / 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.9005/0.9005, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.693/1.693, allocations: 359 MB / 0.6052 GB, free: 10.96 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.183e-06/1.183e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.848e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002724/0.002742, allocations: 2.52 MB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.004613, allocations: 1.686 MB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.004759, allocations: 0 / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007566/0.005516, allocations: 324.3 kB / 0.7915 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.005916, allocations: 275.9 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.006286, allocations: 213.6 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.006628, allocations: 414.5 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006741, allocations: 40.86 kB / 0.7924 GB, free: 7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.00726, allocations: 269.1 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.007413, allocations: 148.2 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.007443, allocations: 16.91 kB / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.007574, allocations: 87.81 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.007674, allocations: 136.6 kB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.007755, allocations: 95.58 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.008133, allocations: 354.5 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.008135, allocations: 0.8438 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.008136, allocations: 0 / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.008142, allocations: 0 / 0.7935 GB, free: 5.938 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.0008433/0.008985, allocations: 0.9028 MB / 0.7944 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.009022, allocations: 12.02 kB / 0.7944 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.009117, allocations: 72.52 kB / 0.7945 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.009497, allocations: 386.8 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.00952, allocations: 8.562 kB / 0.7948 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.009539, allocations: 17.5 kB / 0.7948 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.009712, allocations: 125.3 kB / 0.795 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.009719, allocations: 0 / 0.795 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.009731, allocations: 5.375 kB / 0.795 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.009738, allocations: 0 / 0.795 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.505e-05/0.009813, allocations: 35.97 kB / 0.795 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.01041, allocations: 0.5672 MB / 0.7956 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.01055, allocations: 91.2 kB / 0.7956 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.0106, allocations: 34.52 kB / 0.7957 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.01061, allocations: 4 kB / 0.7957 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.01075, allocations: 126.7 kB / 0.7958 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.01075, allocations: 0 / 0.7958 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.000279/0.01103, allocations: 193.2 kB / 0.796 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.01106, allocations: 51.41 kB / 0.796 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.01152, allocations: 0.6601 MB / 0.7967 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.01154, allocations: 31.42 kB / 0.7967 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.01171, allocations: 335.2 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.01174, allocations: 43.67 kB / 0.7971 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.01181, allocations: 63.3 kB / 0.7971 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.01208, allocations: 0.5664 MB / 0.7977 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.01213, allocations: 29.33 kB / 0.7977 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.01223, allocations: 148.1 kB / 0.7979 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.01233, allocations: 85.64 kB / 0.7979 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01234, allocations: 0 / 0.7979 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002129/0.01255, allocations: 207 kB / 0.7981 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01256, allocations: 4 kB / 0.7981 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01257, allocations: 6.797 kB / 0.7981 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01258, allocations: 4 kB / 0.7981 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01269, allocations: 35.92 kB / 0.7982 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.01269, allocations: 7.938 kB / 0.7982 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.01277, allocations: 23.88 kB / 0.7982 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.01279, allocations: 8 kB / 0.7982 GB, free: 0.8359 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.000101/0.01289, allocations: 180.6 kB / 0.7984 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.01293, allocations: 63.58 kB / 0.7985 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.01314, allocations: 170.8 kB / 0.7986 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01314, allocations: 3.938 kB / 0.7986 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01314, allocations: 3.938 kB / 0.7986 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01315, allocations: 4.938 kB / 0.7986 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.01338, allocations: 344.5 kB / 0.799 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01338, allocations: 9.109 kB / 0.799 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.01341, allocations: 8 kB / 0.799 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01341, allocations: 0 / 0.799 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01342, allocations: 5.031 kB / 0.799 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01342, allocations: 0 / 0.799 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01342, allocations: 0 / 0.799 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.01362, allocations: 233 kB / 0.7992 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.01367, allocations: 51.62 kB / 0.7992 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.0137, allocations: 4 kB / 0.7993 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.431e-05/0.01375, allocations: 16.08 kB / 0.7993 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.0138, allocations: 15.97 kB / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01381, allocations: 11.98 kB / 0.7993 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000262/0.01407, allocations: 410.9 kB / 0.7997 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.01407, allocations: 0 / 0.7997 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001996/0.01427, allocations: 67.88 kB / 0.7998 GB, free: 15.2 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.0007753/0.01505, allocations: 401.6 kB / 0.8001 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01523, allocations: 108.1 kB / 0.8002 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01523, allocations: 4 kB / 0.8002 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.0153, allocations: 55.58 kB / 0.8003 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.01559, allocations: 95.8 kB / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.01675, allocations: 0.7502 MB / 0.8011 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.769e-05/0.01683, allocations: 144.2 kB / 0.8013 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.284e-05/0.01691, allocations: 42.95 kB / 0.8013 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.01697, allocations: 36.48 kB / 0.8013 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/0.01697, allocations: 3.938 kB / 0.8013 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of Templates: time 0.007434/0.0244, allocations: 4.911 MB / 0.8061 GB, free: 8.836 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: 4.862423215992749]