Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001201/0.001201, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.0014/0.0014, allocations: 169 kB / 24.06 MB, free: 448 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 1.13/1.13, allocations: 177.2 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.306/2.306, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.763e-05, allocations: 4.844 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002818/0.002845, allocations: 2.016 MB / 0.8814 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.00397, allocations: 0.7237 MB / 0.8821 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.004085, allocations: 3.938 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.004238, allocations: 20.83 kB / 0.8821 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.203e-05/0.00432, allocations: 23.75 kB / 0.8821 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.004698, allocations: 108.8 kB / 0.8822 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000171/0.004869, allocations: 152.6 kB / 0.8824 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.00502, allocations: 56.97 kB / 0.8824 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.005328, allocations: 91.78 kB / 0.8825 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.005402, allocations: 52.88 kB / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.005426, allocations: 15.94 kB / 0.8826 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.005547, allocations: 64.66 kB / 0.8827 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.005627, allocations: 67.75 kB / 0.8827 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.005674, allocations: 60.27 kB / 0.8828 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.005906, allocations: 187.2 kB / 0.883 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005909, allocations: 1.469 kB / 0.883 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/0.005911, allocations: 0 / 0.883 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.005916, allocations: 0 / 0.883 GB, free: 2.379 MB / 0.8386 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.0005896/0.006506, allocations: 0.5787 MB / 0.8835 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.006545, allocations: 8.031 kB / 0.8835 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.007373, allocations: 490.2 kB / 0.884 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.007628, allocations: 235.5 kB / 0.8842 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.00773, allocations: 143.6 kB / 0.8844 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.007751, allocations: 12.38 kB / 0.8844 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.008118, allocations: 281.4 kB / 0.8846 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008127, allocations: 192 / 0.8846 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.008145, allocations: 12.12 kB / 0.8847 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.008151, allocations: 0 / 0.8847 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.008358, allocations: 216.5 kB / 0.8849 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009797/0.009338, allocations: 0.8737 MB / 0.8857 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.009587, allocations: 198.8 kB / 0.8859 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004312/0.01002, allocations: 111.6 kB / 0.886 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.01003, allocations: 4 kB / 0.886 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.01006, allocations: 33.39 kB / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.01006, allocations: 0 / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004436/0.01051, allocations: 381.2 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.01054, allocations: 55.41 kB / 0.8865 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.01071, allocations: 304.3 kB / 0.8867 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.01074, allocations: 29.7 kB / 0.8868 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.01084, allocations: 206.6 kB / 0.887 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.01086, allocations: 19.78 kB / 0.887 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.01094, allocations: 83.27 kB / 0.8871 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.01107, allocations: 0.5079 MB / 0.8876 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.01119, allocations: 119.9 kB / 0.8877 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.01131, allocations: 159.2 kB / 0.8878 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.01152, allocations: 215.1 kB / 0.888 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01152, allocations: 0 / 0.888 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003451/0.01186, allocations: 345.1 kB / 0.8884 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01188, allocations: 7.938 kB / 0.8884 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01189, allocations: 4 kB / 0.8884 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.0119, allocations: 0 / 0.8884 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.0121, allocations: 119.8 kB / 0.8885 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.0121, allocations: 0 / 0.8885 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.01221, allocations: 67.94 kB / 0.8886 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.01231, allocations: 135.7 kB / 0.8887 GB, free: 12.28 MB / 0.8542 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.0001063/0.01242, allocations: 164.6 kB / 0.8888 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.01246, allocations: 23.86 kB / 0.8889 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.01249, allocations: 25.7 kB / 0.8889 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.0125, allocations: 4 kB / 0.8889 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.0125, allocations: 4 kB / 0.8889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.0125, allocations: 3.984 kB / 0.8889 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.0128, allocations: 312.3 kB / 0.8892 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0128, allocations: 3.938 kB / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.01296, allocations: 115.8 kB / 0.8893 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01296, allocations: 3.984 kB / 0.8893 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.01299, allocations: 23.97 kB / 0.8893 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01299, allocations: 0 / 0.8893 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.01299, allocations: 4.484 kB / 0.8893 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004067/0.0134, allocations: 483.4 kB / 0.8898 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.01343, allocations: 23.89 kB / 0.8898 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.01345, allocations: 4 kB / 0.8898 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01358, allocations: 67.84 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.01362, allocations: 7.922 kB / 0.8899 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.812e-05/0.01372, allocations: 143.7 kB / 0.89 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001006/0.01382, allocations: 209.1 kB / 0.8902 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01382, allocations: 0 / 0.8902 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002296/0.01405, allocations: 39.89 kB / 0.8903 GB, free: 10.59 MB / 0.8542 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.0001723/0.01422, allocations: 103.2 kB / 0.8904 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.01459, allocations: 299.4 kB / 0.8907 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.01459, allocations: 4 kB / 0.8907 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.01475, allocations: 167.5 kB / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.01499, allocations: 46.19 kB / 0.8909 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.01574, allocations: 479.1 kB / 0.8913 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.336e-05/0.0158, allocations: 83.81 kB / 0.8914 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003303/0.01613, allocations: 376.8 kB / 0.8918 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.01628, allocations: 134.1 kB / 0.8919 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.01628, allocations: 0 / 0.8919 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.005806/0.02209, allocations: 3.437 MB / 0.8953 GB, free: 5.465 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.053750501945615]