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.0009644/0.0009644, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001034/0.001034, allocations: 161 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 0.9861/0.9861, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.667/1.667, allocations: 359 MB / 0.6052 GB, free: 10.99 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.422e-06/1.422e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.221e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002371/0.002383, allocations: 2.029 MB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008643/0.003247, allocations: 0.7271 MB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.003326, allocations: 7.938 kB / 0.7898 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.003427, allocations: 20.42 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.003489, allocations: 29.12 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.003783, allocations: 105 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.003919, allocations: 155.5 kB / 0.7901 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.00403, allocations: 53.02 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.004162, allocations: 108.7 kB / 0.7903 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.004219, allocations: 47.81 kB / 0.7903 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.004239, allocations: 12 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.004345, allocations: 65.28 kB / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.004408, allocations: 71.75 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.004449, allocations: 47.84 kB / 0.7905 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004651, allocations: 199.2 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004653, allocations: 1.656 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004654, allocations: 0 / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.004657, allocations: 0 / 0.7907 GB, free: 8.762 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.0004906/0.005148, allocations: 0.579 MB / 0.7913 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.005177, allocations: 12.03 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007552/0.005932, allocations: 489.8 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.006173, allocations: 251.5 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.006258, allocations: 140.9 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.006277, allocations: 12.38 kB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.00665, allocations: 346.9 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.006657, allocations: 192 / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.006676, allocations: 9.219 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.006683, allocations: 4 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.006982, allocations: 332.2 kB / 0.7928 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/0.007849, allocations: 0.9041 MB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.00811, allocations: 244 kB / 0.7939 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.008286, allocations: 173.4 kB / 0.7941 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.0083, allocations: 4 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.008324, allocations: 41.33 kB / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008325, allocations: 0 / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006949/0.00902, allocations: 0.5266 MB / 0.7946 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.009049, allocations: 51.41 kB / 0.7947 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.009288, allocations: 308.3 kB / 0.795 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.009309, allocations: 33.64 kB / 0.795 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.009414, allocations: 211.1 kB / 0.7952 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.009443, allocations: 23.8 kB / 0.7952 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.009539, allocations: 79.81 kB / 0.7953 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.009679, allocations: 0.504 MB / 0.7958 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.009885, allocations: 185.4 kB / 0.796 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.0101, allocations: 196.4 kB / 0.7962 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.01044, allocations: 305.2 kB / 0.7964 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01044, allocations: 0 / 0.7964 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005087/0.01095, allocations: 447.5 kB / 0.7969 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01097, allocations: 8 kB / 0.7969 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.01097, allocations: 1.062 kB / 0.7969 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.01098, allocations: 0 / 0.7969 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.0112, allocations: 120.9 kB / 0.797 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01121, allocations: 1.125 kB / 0.797 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.01134, allocations: 68.94 kB / 0.7971 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.01147, allocations: 141.9 kB / 0.7972 GB, free: 1.895 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 9.6e-05/0.01157, allocations: 157.9 kB / 0.7973 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.01162, allocations: 27.8 kB / 0.7974 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.01166, allocations: 25.77 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01166, allocations: 0.7188 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01166, allocations: 0 / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.01167, allocations: 0.6562 kB / 0.7974 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.01201, allocations: 355.4 kB / 0.7977 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.01201, allocations: 2.688 kB / 0.7977 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.0122, allocations: 119.8 kB / 0.7979 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.0122, allocations: 0 / 0.7979 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.01223, allocations: 23.91 kB / 0.7979 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01223, allocations: 2.719 kB / 0.7979 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01223, allocations: 7.938 kB / 0.7979 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.01277, allocations: 0.5619 MB / 0.7984 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.0128, allocations: 27.84 kB / 0.7985 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01283, allocations: 4.875 kB / 0.7985 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.01299, allocations: 67.94 kB / 0.7985 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.01303, allocations: 15.86 kB / 0.7985 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.01315, allocations: 139.8 kB / 0.7987 GB, free: 324 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001374/0.01328, allocations: 213.1 kB / 0.7989 GB, free: 112 kB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01328, allocations: 4 kB / 0.7989 GB, free: 108 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003287/0.01657, allocations: 43.89 kB / 0.7989 GB, free: 64 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.0001256/0.0167, allocations: 99.25 kB / 0.799 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.01718, allocations: 415.2 kB / 0.7994 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01719, allocations: 0 / 0.7994 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.01741, allocations: 223.6 kB / 0.7996 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01769, allocations: 44.45 kB / 0.7997 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/0.0185, allocations: 0.5108 MB / 0.8002 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.996e-05/0.01856, allocations: 87.8 kB / 0.8003 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004015/0.01896, allocations: 376.8 kB / 0.8006 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.01908, allocations: 68.42 kB / 0.8007 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/0.01908, allocations: 0 / 0.8007 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of Templates: time 0.01153/0.03061, allocations: 3.386 MB / 0.804 GB, free: 10.85 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.9517099116928875]