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.0009765/0.0009765, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009799/0.0009799, allocations: 173 kB / 23.49 MB, free: 1.055 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.9633/0.9633, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.132/2.132, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.443e-06/1.443e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.445e-05, allocations: 5.688 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002667/0.002691, allocations: 2.024 MB / 0.8802 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.003691, allocations: 0.7237 MB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.003788, allocations: 4 kB / 0.8809 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.003918, allocations: 24.81 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.003987, allocations: 27.73 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.004333, allocations: 96.89 kB / 0.881 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004491, allocations: 155.5 kB / 0.8812 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.004646, allocations: 66.05 kB / 0.8812 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.004804, allocations: 91.73 kB / 0.8813 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.004869, allocations: 52.77 kB / 0.8814 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.004894, allocations: 12 kB / 0.8814 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.005009, allocations: 63.94 kB / 0.8815 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.005091, allocations: 68.5 kB / 0.8815 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.165e-05/0.005142, allocations: 55.84 kB / 0.8816 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.00538, allocations: 191.8 kB / 0.8818 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005382, allocations: 7.375 kB / 0.8818 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005383, allocations: 0 / 0.8818 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.005389, allocations: 0 / 0.8818 GB, free: 2.969 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.0005914/0.00598, allocations: 0.5696 MB / 0.8823 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.006018, allocations: 12.03 kB / 0.8823 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/0.00683, allocations: 494.5 kB / 0.8828 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.007126, allocations: 255.8 kB / 0.883 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.007224, allocations: 135.6 kB / 0.8832 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.007247, allocations: 12.38 kB / 0.8832 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.007652, allocations: 341.7 kB / 0.8835 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.007661, allocations: 192 / 0.8835 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.007681, allocations: 12.12 kB / 0.8835 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.00769, allocations: 0 / 0.8835 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.008018, allocations: 337.4 kB / 0.8838 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.009001, allocations: 0.9277 MB / 0.8848 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.009304, allocations: 242.9 kB / 0.885 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.009467, allocations: 171.6 kB / 0.8852 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.009482, allocations: 0 / 0.8852 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.009507, allocations: 41.27 kB / 0.8852 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.009508, allocations: 0 / 0.8852 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006743/0.01018, allocations: 0.5093 MB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.01022, allocations: 51.41 kB / 0.8857 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.01043, allocations: 316.3 kB / 0.886 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.01045, allocations: 29.7 kB / 0.8861 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01055, allocations: 206.8 kB / 0.8863 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.01059, allocations: 23.78 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.01066, allocations: 79.3 kB / 0.8864 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01078, allocations: 0.504 MB / 0.8869 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.01096, allocations: 183.7 kB / 0.887 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.01111, allocations: 179.9 kB / 0.8872 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.01137, allocations: 295.4 kB / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01137, allocations: 0 / 0.8875 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003865/0.01176, allocations: 429.1 kB / 0.8879 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01177, allocations: 8 kB / 0.8879 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.01178, allocations: 4 kB / 0.8879 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01179, allocations: 0 / 0.8879 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.01197, allocations: 119.8 kB / 0.888 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.01198, allocations: 4 kB / 0.888 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01208, allocations: 71.8 kB / 0.8881 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.01217, allocations: 135.8 kB / 0.8882 GB, free: 12.13 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 8.831e-05/0.01226, allocations: 164.5 kB / 0.8884 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.0123, allocations: 27.8 kB / 0.8884 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.01233, allocations: 17.78 kB / 0.8884 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01233, allocations: 11.98 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.01234, allocations: 0 / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01234, allocations: 0 / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.01262, allocations: 343.8 kB / 0.8888 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01262, allocations: 0 / 0.8888 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.01276, allocations: 119.8 kB / 0.8889 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01276, allocations: 0 / 0.8889 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.01279, allocations: 27.91 kB / 0.8889 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01279, allocations: 4 kB / 0.8889 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01279, allocations: 0 / 0.8889 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.01323, allocations: 0.5619 MB / 0.8895 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.01326, allocations: 27.78 kB / 0.8895 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01329, allocations: 3.938 kB / 0.8895 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.01341, allocations: 71.84 kB / 0.8896 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.01345, allocations: 7.984 kB / 0.8896 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/0.01354, allocations: 135.8 kB / 0.8897 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001134/0.01365, allocations: 217.1 kB / 0.8899 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01365, allocations: 0 / 0.8899 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001876/0.01384, allocations: 39.95 kB / 0.8899 GB, free: 10.31 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.0001251/0.01396, allocations: 111 kB / 0.89 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.01437, allocations: 411.3 kB / 0.8904 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01437, allocations: 0 / 0.8904 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.01455, allocations: 231.4 kB / 0.8907 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.01477, allocations: 42.58 kB / 0.8907 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.01552, allocations: 0.5154 MB / 0.8912 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01557, allocations: 87.73 kB / 0.8913 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002983/0.01587, allocations: 376.8 kB / 0.8916 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.9e-05/0.01597, allocations: 60.42 kB / 0.8917 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.01597, allocations: 0 / 0.8917 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of Templates: time 0.004607/0.02058, allocations: 3.039 MB / 0.8947 GB, free: 5.43 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.392442970070988]