Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001025/0.001025, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009566/0.0009566, allocations: 169 kB / 24.28 MB, free: 276 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.9718/0.9718, allocations: 177.1 MB / 204.6 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.486e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002432/0.002447, allocations: 2.024 MB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000943/0.00339, allocations: 0.7234 MB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.036e-05/0.00348, allocations: 4 kB / 0.8142 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.003595, allocations: 19.73 kB / 0.8143 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.003662, allocations: 33.34 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.003987, allocations: 99.77 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.004135, allocations: 148.5 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.004276, allocations: 61 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.004415, allocations: 99.66 kB / 0.8147 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.00448, allocations: 52.48 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.004504, allocations: 16.97 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.004621, allocations: 63.94 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.004697, allocations: 71.75 kB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.004744, allocations: 52.53 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.004974, allocations: 203.1 kB / 0.8151 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004975, allocations: 0.8125 kB / 0.8151 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004976, allocations: 0 / 0.8151 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.00498, allocations: 1.25 kB / 0.8151 GB, free: 14.38 MB / 0.7761 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.0005441/0.005524, allocations: 0.5794 MB / 0.8157 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.005558, allocations: 8.031 kB / 0.8157 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.006364, allocations: 493 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.006632, allocations: 251.8 kB / 0.8164 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.402e-05/0.006726, allocations: 140.2 kB / 0.8165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.006747, allocations: 13.06 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.007137, allocations: 343.4 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.007144, allocations: 0.7188 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.007163, allocations: 8.125 kB / 0.8169 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.007173, allocations: 9.312 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.007482, allocations: 331.9 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.008364, allocations: 0.9225 MB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.008632, allocations: 237 kB / 0.8183 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.008781, allocations: 167.6 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.008793, allocations: 1.938 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.008813, allocations: 49.27 kB / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.008814, allocations: 0 / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005372/0.009351, allocations: 0.5051 MB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.009376, allocations: 52.22 kB / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.009893, allocations: 312.3 kB / 0.8194 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.009912, allocations: 29.14 kB / 0.8194 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.009998, allocations: 210.8 kB / 0.8196 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.01002, allocations: 19.8 kB / 0.8196 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.01009, allocations: 79.28 kB / 0.8197 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01021, allocations: 0.5079 MB / 0.8202 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.01037, allocations: 183.8 kB / 0.8204 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01052, allocations: 172.5 kB / 0.8205 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.01078, allocations: 297.2 kB / 0.8208 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01078, allocations: 0.5 kB / 0.8208 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003897/0.01117, allocations: 426.8 kB / 0.8212 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.01118, allocations: 16.62 kB / 0.8213 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.01118, allocations: 0 / 0.8213 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.01119, allocations: 0 / 0.8213 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.01137, allocations: 119.2 kB / 0.8214 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.01137, allocations: 0 / 0.8214 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.01147, allocations: 67.84 kB / 0.8214 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.01156, allocations: 145.8 kB / 0.8216 GB, free: 7.578 MB / 0.7761 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.131e-05/0.01165, allocations: 156.6 kB / 0.8217 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.01169, allocations: 28.83 kB / 0.8217 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.01171, allocations: 25.75 kB / 0.8218 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01172, allocations: 1.125 kB / 0.8218 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.01172, allocations: 3.938 kB / 0.8218 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01172, allocations: 3.984 kB / 0.8218 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.01199, allocations: 356.7 kB / 0.8221 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01199, allocations: 3.984 kB / 0.8221 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.01213, allocations: 119.8 kB / 0.8222 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01214, allocations: 0 / 0.8222 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.01216, allocations: 27.89 kB / 0.8223 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01216, allocations: 0 / 0.8223 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01216, allocations: 4 kB / 0.8223 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.01258, allocations: 0.5542 MB / 0.8228 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01261, allocations: 28.5 kB / 0.8228 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.01263, allocations: 7.938 kB / 0.8228 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.01275, allocations: 65.52 kB / 0.8229 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.01279, allocations: 4.484 kB / 0.8229 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.012e-05/0.01288, allocations: 141.7 kB / 0.823 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001086/0.01298, allocations: 221.1 kB / 0.8233 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01298, allocations: 0 / 0.8233 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001944/0.01318, allocations: 39.89 kB / 0.8233 GB, free: 5.762 MB / 0.7761 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.0001089/0.01329, allocations: 111.2 kB / 0.8234 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.01367, allocations: 411.3 kB / 0.8238 GB, free: 5.238 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01367, allocations: 4 kB / 0.8238 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.01385, allocations: 227.4 kB / 0.824 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01405, allocations: 36.47 kB / 0.824 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.01477, allocations: 0.5185 MB / 0.8246 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.01482, allocations: 91.81 kB / 0.8246 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.01513, allocations: 372.8 kB / 0.825 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.01523, allocations: 64.42 kB / 0.8251 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01523, allocations: 0 / 0.8251 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of Templates: time 0.004592/0.01982, allocations: 3.047 MB / 0.828 GB, free: 0.8672 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.080388421891257]