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.0009227/0.0009227, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009253/0.0009253, allocations: 181 kB / 24.09 MB, free: 416 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.914/0.914, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.715/1.715, allocations: 359 MB / 0.6055 GB, free: 10.88 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.372e-06/1.372e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.7e-05, allocations: 6.969 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00218/0.002197, allocations: 2.013 MB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003209, allocations: 0.7285 MB / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.0033, allocations: 4 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.003408, allocations: 23.73 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/0.00348, allocations: 17.59 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.003806, allocations: 107.6 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003935, allocations: 155.6 kB / 0.7905 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004063, allocations: 57.59 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.004202, allocations: 103.7 kB / 0.7907 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.004263, allocations: 49.19 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.004284, allocations: 12 kB / 0.7908 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.004411, allocations: 63.94 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.00448, allocations: 72.91 kB / 0.7909 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.004519, allocations: 51.83 kB / 0.7909 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.004705, allocations: 191.2 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004707, allocations: 0.8125 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004707, allocations: 0 / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.00471, allocations: 3.938 kB / 0.7911 GB, free: 8.527 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.0005011/0.005211, allocations: 0.5847 MB / 0.7917 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.005244, allocations: 12.02 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.006025, allocations: 487.7 kB / 0.7922 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.006232, allocations: 241.3 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.006313, allocations: 135.6 kB / 0.7925 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.00633, allocations: 12.38 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.006633, allocations: 287.5 kB / 0.7928 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.006639, allocations: 4.188 kB / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.006655, allocations: 9.344 kB / 0.7928 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.00666, allocations: 4 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.006836, allocations: 210.3 kB / 0.793 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000902/0.007738, allocations: 0.8538 MB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.00793, allocations: 182.9 kB / 0.794 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.008024, allocations: 124.2 kB / 0.7942 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.008036, allocations: 0.5312 kB / 0.7942 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.008053, allocations: 37.39 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.008055, allocations: 1.938 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003714/0.008426, allocations: 381.2 kB / 0.7946 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.008447, allocations: 51.41 kB / 0.7946 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.008596, allocations: 308.1 kB / 0.7949 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.008613, allocations: 26.55 kB / 0.7949 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.008695, allocations: 218.4 kB / 0.7951 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.008714, allocations: 24.62 kB / 0.7952 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.008782, allocations: 75.3 kB / 0.7952 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.00889, allocations: 0.5086 MB / 0.7957 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.008993, allocations: 126.8 kB / 0.7959 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.009103, allocations: 151.5 kB / 0.796 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.009282, allocations: 225.3 kB / 0.7962 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009283, allocations: 3.938 kB / 0.7962 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000283/0.009566, allocations: 334.1 kB / 0.7965 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.009578, allocations: 13.06 kB / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.009582, allocations: 0 / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.00959, allocations: 0 / 0.7965 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.009746, allocations: 122.1 kB / 0.7967 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.009748, allocations: 0 / 0.7967 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.009843, allocations: 65.7 kB / 0.7967 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-05/0.009932, allocations: 141.1 kB / 0.7969 GB, free: 2.457 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.048e-05/0.01001, allocations: 165.6 kB / 0.797 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.01005, allocations: 23.86 kB / 0.797 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.01008, allocations: 30.36 kB / 0.7971 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01008, allocations: 32 / 0.7971 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.01008, allocations: 4 kB / 0.7971 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.01008, allocations: 0 / 0.7971 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.01058, allocations: 316 kB / 0.7974 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01058, allocations: 0 / 0.7974 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.01071, allocations: 119.8 kB / 0.7975 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01071, allocations: 0 / 0.7975 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.01073, allocations: 23.95 kB / 0.7975 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01073, allocations: 4 kB / 0.7975 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01073, allocations: 3.938 kB / 0.7975 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.01104, allocations: 487.4 kB / 0.798 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.01106, allocations: 15.86 kB / 0.798 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01108, allocations: 4 kB / 0.798 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01119, allocations: 71.84 kB / 0.7981 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.01122, allocations: 11.92 kB / 0.7981 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.01131, allocations: 135.7 kB / 0.7982 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.01139, allocations: 205.1 kB / 0.7984 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01139, allocations: 0 / 0.7984 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001963/0.01159, allocations: 43.89 kB / 0.7985 GB, free: 0.7734 MB / 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 9.235e-05/0.01168, allocations: 115.2 kB / 0.7986 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.01194, allocations: 295.3 kB / 0.7988 GB, free: 364 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01194, allocations: 3.938 kB / 0.7988 GB, free: 360 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.01206, allocations: 171.5 kB / 0.799 GB, free: 184 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.01225, allocations: 42.36 kB / 0.7991 GB, free: 144 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.01283, allocations: 475.1 kB / 0.7995 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.01288, allocations: 87.8 kB / 0.7996 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002904/0.01317, allocations: 380.8 kB / 0.8 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.0133, allocations: 126.1 kB / 0.8001 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.0133, allocations: 4 kB / 0.8001 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of Templates: time 0.004582/0.01788, allocations: 3.505 MB / 0.8035 GB, free: 11.57 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: 4.663758406881243]