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.001246/0.001246, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001372/0.001372, allocations: 169 kB / 23.27 MB, free: 1.223 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.9369/0.9369, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.38/2.38, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.493e-06/1.493e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.35e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002179/0.002192, allocations: 2.015 MB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003349, allocations: 0.7091 MB / 0.8924 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.553e-05/0.003445, allocations: 11.94 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003573, allocations: 15.8 kB / 0.8925 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.003645, allocations: 31.66 kB / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.003955, allocations: 95.77 kB / 0.8926 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.004089, allocations: 159.5 kB / 0.8927 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.00421, allocations: 64.94 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.004349, allocations: 95.73 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.004407, allocations: 47.8 kB / 0.8929 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004431, allocations: 20 kB / 0.893 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.004533, allocations: 63.94 kB / 0.893 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.004599, allocations: 67.77 kB / 0.8931 GB, free: 6.328 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.004639, allocations: 55.77 kB / 0.8931 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.00483, allocations: 187.2 kB / 0.8933 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004832, allocations: 0 / 0.8933 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004833, allocations: 0 / 0.8933 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.004836, allocations: 0 / 0.8933 GB, free: 6.09 MB / 0.8542 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.0004771/0.005313, allocations: 0.5773 MB / 0.8939 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.005348, allocations: 16.62 kB / 0.8939 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007571/0.006105, allocations: 487.8 kB / 0.8944 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.006312, allocations: 239.5 kB / 0.8946 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.006393, allocations: 139.6 kB / 0.8947 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.006417, allocations: 20.3 kB / 0.8947 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.006741, allocations: 281.2 kB / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.00675, allocations: 192 / 0.895 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.006765, allocations: 8.125 kB / 0.895 GB, free: 4.246 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006772, allocations: 4 kB / 0.895 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.006966, allocations: 210.4 kB / 0.8952 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.007981, allocations: 0.8582 MB / 0.8961 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.008207, allocations: 194.8 kB / 0.8962 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.008314, allocations: 119.6 kB / 0.8964 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.008334, allocations: 4 kB / 0.8964 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.008354, allocations: 33.39 kB / 0.8964 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.008355, allocations: 0 / 0.8964 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004261/0.008781, allocations: 377.3 kB / 0.8968 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.008808, allocations: 55.41 kB / 0.8968 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.008976, allocations: 304.2 kB / 0.8971 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.008993, allocations: 29.7 kB / 0.8971 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.009086, allocations: 206.6 kB / 0.8973 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.009106, allocations: 23.8 kB / 0.8973 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.009179, allocations: 83.27 kB / 0.8974 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.009294, allocations: 0.5001 MB / 0.8979 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.009407, allocations: 131.8 kB / 0.898 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.009525, allocations: 139.2 kB / 0.8982 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.009713, allocations: 227.1 kB / 0.8984 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009715, allocations: 0 / 0.8984 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000295/0.01001, allocations: 345.1 kB / 0.8987 GB, free: 320 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01002, allocations: 11.97 kB / 0.8987 GB, free: 308 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01003, allocations: 0 / 0.8987 GB, free: 308 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.01004, allocations: 4 kB / 0.8987 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.0102, allocations: 119.8 kB / 0.8988 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.01021, allocations: 0 / 0.8988 GB, free: 184 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01031, allocations: 75.8 kB / 0.8989 GB, free: 108 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.01041, allocations: 131.8 kB / 0.899 GB, free: 15.98 MB / 0.8698 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 8.421e-05/0.01049, allocations: 156.6 kB / 0.8992 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.01053, allocations: 23.86 kB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.01056, allocations: 33.7 kB / 0.8992 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01056, allocations: 0 / 0.8992 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.01056, allocations: 0 / 0.8992 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.01057, allocations: 0 / 0.8992 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01081, allocations: 316.1 kB / 0.8995 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.01082, allocations: 0 / 0.8995 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.01095, allocations: 119.8 kB / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.01095, allocations: 0 / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.01097, allocations: 39.95 kB / 0.8997 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01098, allocations: 0.5469 kB / 0.8997 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01098, allocations: 3.938 kB / 0.8997 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.01132, allocations: 483.4 kB / 0.9002 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/0.01134, allocations: 23.84 kB / 0.9002 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01136, allocations: 0 / 0.9002 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.01147, allocations: 59.92 kB / 0.9002 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.0115, allocations: 19.91 kB / 0.9003 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/0.01159, allocations: 143.7 kB / 0.9004 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.762e-05/0.01168, allocations: 209.1 kB / 0.9006 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01168, allocations: 4 kB / 0.9006 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001831/0.01186, allocations: 39.89 kB / 0.9006 GB, free: 14.28 MB / 0.8698 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.000105/0.01197, allocations: 95.25 kB / 0.9007 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.01225, allocations: 295.3 kB / 0.901 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01225, allocations: 0 / 0.901 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.01239, allocations: 183.5 kB / 0.9012 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.01259, allocations: 42.39 kB / 0.9012 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.01321, allocations: 475.1 kB / 0.9017 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.01326, allocations: 83.81 kB / 0.9018 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000299/0.01356, allocations: 376.8 kB / 0.9021 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.01369, allocations: 130.1 kB / 0.9022 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of SimCode: time 4.4e-07/0.01369, allocations: 4 kB / 0.9022 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.004814/0.01851, allocations: 3.472 MB / 0.9056 GB, free: 9.137 MB / 0.8698 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.1706769447773695]