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.001088/0.001088, allocations: 83.59 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.001996/0.001996, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.832/1.832, allocations: 359 MB / 0.6052 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.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.322e-06/1.322e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.741e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002713/0.00274, allocations: 2.026 MB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003873, allocations: 0.7238 MB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.003977, allocations: 7.938 kB / 0.7898 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.004115, allocations: 25.89 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.004189, allocations: 23.78 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.004578, allocations: 99.7 kB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.00474, allocations: 159.5 kB / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.004876, allocations: 62.06 kB / 0.7902 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.005042, allocations: 95.67 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.005113, allocations: 53.19 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.005139, allocations: 16 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.005276, allocations: 63.92 kB / 0.7904 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.005351, allocations: 71.75 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.005402, allocations: 57.75 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.005645, allocations: 195.2 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005648, allocations: 0 / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.005649, allocations: 0 / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005654, allocations: 0 / 0.7907 GB, free: 8.801 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.0005849/0.006238, allocations: 0.5718 MB / 0.7912 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.006273, allocations: 8.031 kB / 0.7912 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/0.0072, allocations: 497.6 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.007497, allocations: 259.8 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.642e-05/0.007593, allocations: 136.3 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.007617, allocations: 4.906 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.008036, allocations: 350.8 kB / 0.7924 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.008043, allocations: 0.8438 kB / 0.7924 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.008063, allocations: 12.05 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.00807, allocations: 5.25 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.008384, allocations: 331.9 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/0.009361, allocations: 0.9148 MB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.009649, allocations: 245 kB / 0.7939 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.009804, allocations: 167.6 kB / 0.7941 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.009821, allocations: 4.75 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.009845, allocations: 41.27 kB / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.009846, allocations: 0.875 kB / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005824/0.01043, allocations: 0.5146 MB / 0.7946 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.01046, allocations: 51.41 kB / 0.7947 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.01092, allocations: 308.3 kB / 0.795 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.01095, allocations: 25.7 kB / 0.795 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.01104, allocations: 211.6 kB / 0.7952 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.01107, allocations: 27.78 kB / 0.7952 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.01115, allocations: 75.3 kB / 0.7953 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01127, allocations: 0.5033 MB / 0.7958 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.01145, allocations: 183.8 kB / 0.7959 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.0116, allocations: 176.2 kB / 0.7961 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.01187, allocations: 305.4 kB / 0.7964 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01187, allocations: 0 / 0.7964 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003959/0.01226, allocations: 425.9 kB / 0.7968 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01228, allocations: 4.656 kB / 0.7968 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01228, allocations: 2.812 kB / 0.7968 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.0123, allocations: 4 kB / 0.7968 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.0125, allocations: 115.8 kB / 0.7969 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.0125, allocations: 0 / 0.7969 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01261, allocations: 70.25 kB / 0.797 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.85e-05/0.01271, allocations: 137.8 kB / 0.7971 GB, free: 2.008 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 9.321e-05/0.0128, allocations: 164.5 kB / 0.7973 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.01284, allocations: 27.8 kB / 0.7973 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.01288, allocations: 22.8 kB / 0.7973 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01288, allocations: 3.938 kB / 0.7973 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01289, allocations: 5.094 kB / 0.7973 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01289, allocations: 0 / 0.7973 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.01319, allocations: 355.5 kB / 0.7977 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01319, allocations: 0.5312 kB / 0.7977 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.01334, allocations: 117.4 kB / 0.7978 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01334, allocations: 0 / 0.7978 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.01337, allocations: 32.47 kB / 0.7978 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01337, allocations: 4 kB / 0.7978 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01337, allocations: 0 / 0.7978 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.01384, allocations: 0.5658 MB / 0.7984 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.01387, allocations: 27.78 kB / 0.7984 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01389, allocations: 3.938 kB / 0.7984 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01401, allocations: 71.84 kB / 0.7985 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.01406, allocations: 7.984 kB / 0.7985 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/0.01415, allocations: 135.8 kB / 0.7986 GB, free: 432 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001193/0.01427, allocations: 213.1 kB / 0.7988 GB, free: 220 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01427, allocations: 0 / 0.7988 GB, free: 220 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002303/0.0145, allocations: 47.89 kB / 0.7989 GB, free: 172 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.0001403/0.01464, allocations: 103.2 kB / 0.799 GB, free: 56 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004273/0.01506, allocations: 407.3 kB / 0.7994 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01507, allocations: 0 / 0.7994 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.01526, allocations: 231.4 kB / 0.7996 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01549, allocations: 40.45 kB / 0.7996 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.01631, allocations: 0.5179 MB / 0.8001 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.507e-05/0.01637, allocations: 83.8 kB / 0.8002 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003119/0.01668, allocations: 380.7 kB / 0.8006 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.01679, allocations: 64.42 kB / 0.8006 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/0.01679, allocations: 0 / 0.8006 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.005166/0.02196, allocations: 3.048 MB / 0.8036 GB, free: 11.27 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.371427662204951]