Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.00113/0.00113, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009883/0.0009883, 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.9577/0.9577, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.834/1.834, allocations: 359 MB / 0.6055 GB, free: 10.98 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.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.802e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002625/0.002653, allocations: 2.018 MB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003666, allocations: 0.723 MB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.003768, allocations: 7.938 kB / 0.7898 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.0039, allocations: 23.73 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.003977, allocations: 21.7 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.004337, allocations: 103.7 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004494, allocations: 157.2 kB / 0.7901 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.004631, allocations: 60.98 kB / 0.7901 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.004778, allocations: 99.67 kB / 0.7902 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.004845, allocations: 51.8 kB / 0.7903 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.004867, allocations: 17.22 kB / 0.7903 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.004992, allocations: 59.95 kB / 0.7904 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.005062, allocations: 67.75 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.00511, allocations: 60.45 kB / 0.7905 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.005334, allocations: 195.2 kB / 0.7907 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005335, allocations: 1.594 kB / 0.7907 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005336, allocations: 0 / 0.7907 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.005341, allocations: 0 / 0.7907 GB, free: 9.109 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005359/0.005877, allocations: 0.5742 MB / 0.7912 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.005915, allocations: 11.44 kB / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007861/0.006702, allocations: 494.7 kB / 0.7917 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.006979, allocations: 244.5 kB / 0.792 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.007072, allocations: 145 kB / 0.7921 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.007094, allocations: 12.31 kB / 0.7921 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.007485, allocations: 354.4 kB / 0.7924 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.007492, allocations: 8.641 kB / 0.7924 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.007509, allocations: 4.656 kB / 0.7925 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007517, allocations: 4 kB / 0.7925 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.007819, allocations: 328.9 kB / 0.7928 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008824/0.008702, allocations: 0.9113 MB / 0.7937 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.008981, allocations: 248.2 kB / 0.7939 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.00913, allocations: 164.4 kB / 0.7941 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.009142, allocations: 0 / 0.7941 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.009162, allocations: 46.25 kB / 0.7941 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.009163, allocations: 0 / 0.7941 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005426/0.009706, allocations: 0.5181 MB / 0.7946 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.009733, allocations: 51.41 kB / 0.7947 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.009924, allocations: 313.3 kB / 0.795 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.00994, allocations: 25.7 kB / 0.795 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.01003, allocations: 210.5 kB / 0.7952 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.01006, allocations: 22.11 kB / 0.7952 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.01013, allocations: 79.28 kB / 0.7953 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.01025, allocations: 0.504 MB / 0.7958 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.01041, allocations: 179.8 kB / 0.7959 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.01056, allocations: 179.6 kB / 0.7961 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.01084, allocations: 295.5 kB / 0.7964 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01084, allocations: 0 / 0.7964 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003839/0.01122, allocations: 434 kB / 0.7968 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.01123, allocations: 8.5 kB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.01124, allocations: 0.5625 kB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01125, allocations: 0.5625 kB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.01143, allocations: 121.1 kB / 0.7969 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.01143, allocations: 0.9375 kB / 0.7969 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.01153, allocations: 65.09 kB / 0.797 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/0.01163, allocations: 137.6 kB / 0.7971 GB, free: 2.312 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.758e-05/0.01172, allocations: 167.9 kB / 0.7973 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.01176, allocations: 27.78 kB / 0.7973 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.01181, allocations: 25.72 kB / 0.7973 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.01181, allocations: 0 / 0.7973 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01181, allocations: 0 / 0.7973 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01182, allocations: 3.984 kB / 0.7973 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.01209, allocations: 359.4 kB / 0.7977 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.01209, allocations: 0 / 0.7977 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.01223, allocations: 117.8 kB / 0.7978 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01223, allocations: 0 / 0.7978 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.01225, allocations: 29.02 kB / 0.7978 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01226, allocations: 4 kB / 0.7978 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01226, allocations: 0 / 0.7978 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.0127, allocations: 0.5638 MB / 0.7984 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.01272, allocations: 27.78 kB / 0.7984 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01275, allocations: 4.438 kB / 0.7984 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.01286, allocations: 65.83 kB / 0.7985 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.01291, allocations: 11.98 kB / 0.7985 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.013, allocations: 143.7 kB / 0.7986 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001131/0.01311, allocations: 217.1 kB / 0.7988 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01311, allocations: 0 / 0.7988 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002002/0.01331, allocations: 39.89 kB / 0.7989 GB, free: 488 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001219/0.01343, allocations: 99.25 kB / 0.799 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.01384, allocations: 419.2 kB / 0.7994 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01384, allocations: 0 / 0.7994 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.01402, allocations: 223.4 kB / 0.7996 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.01423, allocations: 38.53 kB / 0.7996 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000735/0.01497, allocations: 0.5226 MB / 0.8001 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.01501, allocations: 83.81 kB / 0.8002 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.01531, allocations: 376.8 kB / 0.8006 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.0154, allocations: 60.42 kB / 0.8006 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of SimCode: time 8.12e-07/0.0154, allocations: 4 kB / 0.8006 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.005135/0.02054, allocations: 3.045 MB / 0.8036 GB, free: 11.58 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.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.164955195039511]