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.0009862/0.0009862, 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.0009053/0.0009053, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9596/0.9596, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.808/1.808, allocations: 359 MB / 0.6063 GB, free: 10.91 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.633e-06/1.633e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.503e-05, allocations: 4.5 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00286/0.002885, allocations: 2.015 MB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004092, allocations: 0.7234 MB / 0.791 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.004211, allocations: 4 kB / 0.791 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004347, allocations: 23.72 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.004437, allocations: 26.11 kB / 0.791 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.004852, allocations: 107.7 kB / 0.7912 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.005017, allocations: 155.5 kB / 0.7913 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.005165, allocations: 58.86 kB / 0.7914 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.00534, allocations: 99.7 kB / 0.7915 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.005415, allocations: 47.83 kB / 0.7915 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.005439, allocations: 15.94 kB / 0.7915 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.005583, allocations: 67.92 kB / 0.7916 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.005661, allocations: 68.28 kB / 0.7916 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.00571, allocations: 56.5 kB / 0.7917 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.005957, allocations: 191.2 kB / 0.7919 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.00596, allocations: 0.5312 kB / 0.7919 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005962, allocations: 0 / 0.7919 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.005967, allocations: 1.656 kB / 0.7919 GB, free: 8.578 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.0005903/0.006557, allocations: 0.5735 MB / 0.7924 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.006599, allocations: 8.594 kB / 0.7924 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008576/0.007456, allocations: 493.5 kB / 0.7929 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.00778, allocations: 250.4 kB / 0.7932 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.007891, allocations: 135.6 kB / 0.7933 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.007913, allocations: 8.375 kB / 0.7933 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.008316, allocations: 293.6 kB / 0.7936 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.008325, allocations: 0.6875 kB / 0.7936 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.008342, allocations: 6.062 kB / 0.7936 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.008349, allocations: 4 kB / 0.7936 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.008565, allocations: 212.3 kB / 0.7938 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009903/0.009555, allocations: 0.8637 MB / 0.7946 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.009807, allocations: 181.8 kB / 0.7948 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.009917, allocations: 115.6 kB / 0.7949 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.009931, allocations: 0 / 0.7949 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.009959, allocations: 42.22 kB / 0.795 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.00996, allocations: 0 / 0.795 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004635/0.01042, allocations: 382 kB / 0.7953 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.01046, allocations: 58.23 kB / 0.7954 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01064, allocations: 300.2 kB / 0.7957 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01066, allocations: 25.7 kB / 0.7957 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01077, allocations: 218.4 kB / 0.7959 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.0108, allocations: 27.78 kB / 0.7959 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/0.01088, allocations: 75.28 kB / 0.796 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.01102, allocations: 0.5118 MB / 0.7965 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.01116, allocations: 122 kB / 0.7966 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.01129, allocations: 147.2 kB / 0.7967 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.01151, allocations: 221.2 kB / 0.797 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.01151, allocations: 0 / 0.797 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003605/0.01187, allocations: 343.9 kB / 0.7973 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.01189, allocations: 7.938 kB / 0.7973 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.0119, allocations: 1.75 kB / 0.7973 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.01191, allocations: 3.984 kB / 0.7973 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.0121, allocations: 117.1 kB / 0.7974 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01211, allocations: 8.047 kB / 0.7974 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01222, allocations: 61.02 kB / 0.7975 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.01232, allocations: 148.4 kB / 0.7976 GB, free: 2.5 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 0.0001016/0.01242, allocations: 156.6 kB / 0.7978 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.01247, allocations: 23.86 kB / 0.7978 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.01251, allocations: 29.7 kB / 0.7978 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01251, allocations: 0 / 0.7978 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01251, allocations: 0 / 0.7978 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01251, allocations: 0 / 0.7978 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.01281, allocations: 328 kB / 0.7981 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01281, allocations: 0 / 0.7981 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.01297, allocations: 119.8 kB / 0.7982 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01297, allocations: 0 / 0.7982 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.01299, allocations: 19.97 kB / 0.7983 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01299, allocations: 0 / 0.7983 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.013, allocations: 11.92 kB / 0.7983 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.0134, allocations: 487.4 kB / 0.7987 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.01343, allocations: 19.86 kB / 0.7988 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01345, allocations: 4 kB / 0.7988 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01358, allocations: 59.91 kB / 0.7988 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.01362, allocations: 19.92 kB / 0.7988 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.01373, allocations: 139.7 kB / 0.799 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001178/0.01385, allocations: 205.1 kB / 0.7992 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01385, allocations: 0 / 0.7992 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002747/0.01412, allocations: 43.89 kB / 0.7992 GB, free: 0.8125 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 0.0001855/0.01431, allocations: 107.2 kB / 0.7993 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.01467, allocations: 299.3 kB / 0.7996 GB, free: 408 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01467, allocations: 0 / 0.7996 GB, free: 408 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.01483, allocations: 171.5 kB / 0.7998 GB, free: 232 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01509, allocations: 40.09 kB / 0.7998 GB, free: 196 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.01599, allocations: 479.1 kB / 0.8003 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.01606, allocations: 83.81 kB / 0.8003 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.01644, allocations: 380.8 kB / 0.8007 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.01662, allocations: 126.1 kB / 0.8008 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.733e-06/0.01662, allocations: 0 / 0.8008 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of Templates: time 0.007321/0.02394, allocations: 3.471 MB / 0.8042 GB, free: 11.66 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.189074427355081]