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.00121/0.00121, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001071/0.001071, allocations: 163.6 kB / 24.86 MB, free: 9.289 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.9776/0.9776, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.908/1.908, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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.643e-06/1.643e-06, allocations: 0 / 0.8128 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.758e-05, allocations: 2.312 kB / 0.8128 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003058/0.003076, allocations: 2.002 MB / 0.8147 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009926/0.004068, allocations: 0.7312 MB / 0.8155 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.697e-05/0.004165, allocations: 4 kB / 0.8155 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.004282, allocations: 20.39 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.004356, allocations: 32.59 kB / 0.8155 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.004681, allocations: 100.9 kB / 0.8156 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.004824, allocations: 151.5 kB / 0.8158 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.004952, allocations: 62.5 kB / 0.8158 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.005094, allocations: 95.73 kB / 0.8159 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.005165, allocations: 47.8 kB / 0.8159 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.005188, allocations: 16 kB / 0.816 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.005305, allocations: 69.41 kB / 0.816 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.005377, allocations: 71.75 kB / 0.8161 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.005418, allocations: 47.84 kB / 0.8161 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.005641, allocations: 199.2 kB / 0.8163 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005644, allocations: 1.312 kB / 0.8163 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005644, allocations: 0 / 0.8163 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005649, allocations: 0 / 0.8163 GB, free: 12.66 MB / 0.7292 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.0005509/0.0062, allocations: 0.5752 MB / 0.8169 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.006236, allocations: 8.031 kB / 0.8169 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/0.007035, allocations: 499 kB / 0.8174 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.007274, allocations: 239.5 kB / 0.8176 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.007358, allocations: 139.6 kB / 0.8177 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.007378, allocations: 12.38 kB / 0.8178 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.007702, allocations: 283.9 kB / 0.818 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.007711, allocations: 192 / 0.818 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.00773, allocations: 12.12 kB / 0.818 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.007736, allocations: 0 / 0.818 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.007931, allocations: 213.7 kB / 0.8182 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008556/0.008787, allocations: 0.8725 MB / 0.8191 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.009009, allocations: 186.1 kB / 0.8193 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.009119, allocations: 115.6 kB / 0.8194 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.009131, allocations: 4 kB / 0.8194 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.009152, allocations: 33.39 kB / 0.8194 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.009153, allocations: 0 / 0.8194 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004301/0.009583, allocations: 382.1 kB / 0.8198 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.009617, allocations: 60.28 kB / 0.8198 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.00979, allocations: 300.2 kB / 0.8201 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.009811, allocations: 29.7 kB / 0.8202 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.009906, allocations: 211.9 kB / 0.8204 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.009927, allocations: 19.75 kB / 0.8204 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.01, allocations: 83.27 kB / 0.8205 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01013, allocations: 0.5049 MB / 0.8209 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.01025, allocations: 129.1 kB / 0.8211 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.01037, allocations: 143.5 kB / 0.8212 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.01057, allocations: 231.2 kB / 0.8214 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01057, allocations: 4 kB / 0.8214 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003128/0.01089, allocations: 334.1 kB / 0.8217 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.0109, allocations: 11.94 kB / 0.8218 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01091, allocations: 1.062 kB / 0.8218 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.01091, allocations: 0 / 0.8218 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01109, allocations: 124.8 kB / 0.8219 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.0111, allocations: 1.094 kB / 0.8219 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.0112, allocations: 68.83 kB / 0.8219 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.677e-05/0.0113, allocations: 142.3 kB / 0.8221 GB, free: 6.582 MB / 0.7292 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.05e-05/0.01139, allocations: 157.5 kB / 0.8222 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.01144, allocations: 23.86 kB / 0.8223 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.01146, allocations: 25.7 kB / 0.8223 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01147, allocations: 5.094 kB / 0.8223 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01147, allocations: 0 / 0.8223 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01147, allocations: 0 / 0.8223 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.01173, allocations: 312.8 kB / 0.8226 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01173, allocations: 0.6562 kB / 0.8226 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.01187, allocations: 119.2 kB / 0.8227 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01188, allocations: 4 kB / 0.8227 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.0119, allocations: 23.95 kB / 0.8227 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.0119, allocations: 4 kB / 0.8227 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0119, allocations: 3.938 kB / 0.8227 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.01228, allocations: 480.6 kB / 0.8232 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.0123, allocations: 23.84 kB / 0.8232 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01232, allocations: 9.531 kB / 0.8232 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01244, allocations: 67.95 kB / 0.8233 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.01247, allocations: 7.922 kB / 0.8233 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.01257, allocations: 143.7 kB / 0.8234 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.574e-05/0.01266, allocations: 205.1 kB / 0.8236 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01266, allocations: 0 / 0.8236 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002276/0.01289, allocations: 43.89 kB / 0.8237 GB, free: 4.906 MB / 0.7292 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.0001108/0.013, allocations: 103.2 kB / 0.8238 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.0133, allocations: 303.3 kB / 0.8241 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.0133, allocations: 0 / 0.8241 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.01345, allocations: 171.5 kB / 0.8242 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01366, allocations: 42.66 kB / 0.8243 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.01431, allocations: 491.1 kB / 0.8247 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.01436, allocations: 83.81 kB / 0.8248 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.01467, allocations: 376.8 kB / 0.8252 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.01481, allocations: 130.1 kB / 0.8253 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.01481, allocations: 0 / 0.8253 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of Templates: time 0.005001/0.01981, allocations: 3.48 MB / 0.8287 GB, free: 15.74 MB / 0.7448 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.197223105002195]