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.001498/0.001498, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001636/0.001636, allocations: 169 kB / 23.02 MB, free: 1.551 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.9983/0.9983, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.16/2.16, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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 3.016e-06/3.016e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.58e-05/4.881e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004961/0.00501, allocations: 2.038 MB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.006669, allocations: 0.719 MB / 0.8809 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.006794, allocations: 7.938 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.006959, allocations: 25.06 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.007046, allocations: 19.8 kB / 0.8809 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.007518, allocations: 100.4 kB / 0.881 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.007727, allocations: 160.2 kB / 0.8812 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.007898, allocations: 60.95 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.0081, allocations: 89.39 kB / 0.8813 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.008196, allocations: 55.8 kB / 0.8814 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.00823, allocations: 16 kB / 0.8814 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.008383, allocations: 59.94 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.008479, allocations: 73.7 kB / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.00854, allocations: 59.77 kB / 0.8816 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.008845, allocations: 187.2 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.008851, allocations: 0 / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.222e-06/0.008852, allocations: 0 / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.008859, allocations: 2.531 kB / 0.8818 GB, free: 2.633 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.0007392/0.009599, allocations: 0.5774 MB / 0.8823 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.009643, allocations: 8.031 kB / 0.8823 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/0.01053, allocations: 489.9 kB / 0.8828 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.01088, allocations: 251.8 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.01099, allocations: 143.6 kB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.01101, allocations: 16.36 kB / 0.8832 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005488/0.01156, allocations: 349.5 kB / 0.8835 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01157, allocations: 192 / 0.8835 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.0116, allocations: 8.125 kB / 0.8835 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.01161, allocations: 8 kB / 0.8835 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.01211, allocations: 325.4 kB / 0.8838 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.01395, allocations: 0.9316 MB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.01442, allocations: 242.8 kB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.01465, allocations: 167.6 kB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.01468, allocations: 0 / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.01471, allocations: 45.31 kB / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.01471, allocations: 0 / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0008397/0.01555, allocations: 0.509 MB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.01561, allocations: 55.41 kB / 0.8857 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.01593, allocations: 312.3 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.01595, allocations: 25.7 kB / 0.8861 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.0161, allocations: 210.8 kB / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.01614, allocations: 23.8 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.01626, allocations: 75.28 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.01643, allocations: 0.5079 MB / 0.8869 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.01669, allocations: 175.9 kB / 0.887 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.01693, allocations: 183.8 kB / 0.8872 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.01733, allocations: 287.4 kB / 0.8875 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01734, allocations: 0 / 0.8875 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006457/0.01798, allocations: 437.1 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.018, allocations: 4 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01801, allocations: 0 / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01803, allocations: 0 / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.01835, allocations: 115.8 kB / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.01835, allocations: 0 / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.01852, allocations: 79.8 kB / 0.8881 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/0.01868, allocations: 131.8 kB / 0.8882 GB, free: 11.8 MB / 0.8542 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 0.0001332/0.01881, allocations: 156.6 kB / 0.8884 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.01889, allocations: 35.73 kB / 0.8884 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.01895, allocations: 25.77 kB / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01895, allocations: 0 / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01895, allocations: 0 / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01896, allocations: 3.984 kB / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.01942, allocations: 347.8 kB / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.01943, allocations: 0 / 0.8888 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.01969, allocations: 115.8 kB / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.0197, allocations: 4 kB / 0.8889 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.01973, allocations: 31.89 kB / 0.8889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01974, allocations: 0 / 0.8889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01974, allocations: 0 / 0.8889 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.02047, allocations: 0.5702 MB / 0.8895 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.02052, allocations: 23.78 kB / 0.8895 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.02056, allocations: 11.94 kB / 0.8895 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.02077, allocations: 63.91 kB / 0.8895 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.02084, allocations: 11.98 kB / 0.8896 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.02099, allocations: 139.7 kB / 0.8897 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000179/0.02117, allocations: 221.1 kB / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02117, allocations: 0 / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000382/0.02155, allocations: 39.95 kB / 0.8899 GB, free: 9.961 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.0001976/0.02175, allocations: 99.19 kB / 0.89 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006345/0.02238, allocations: 411.3 kB / 0.8904 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.02239, allocations: 4 kB / 0.8904 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.02269, allocations: 227.4 kB / 0.8906 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.02306, allocations: 40.33 kB / 0.8907 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.02428, allocations: 0.5147 MB / 0.8912 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.02466, allocations: 91.81 kB / 0.8913 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004997/0.02516, allocations: 372.8 kB / 0.8916 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.02532, allocations: 68.42 kB / 0.8917 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.02532, allocations: 0 / 0.8917 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of Templates: time 0.007062/0.03238, allocations: 3.024 MB / 0.8947 GB, free: 5.09 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: 5.670286796987057]