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.001448/0.001448, allocations: 84.72 kB / 19.44 MB, free: 356 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.001653/0.001653, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.175/3.175, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.863e-06/1.863e-06, allocations: 0 / 0.8776 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/2.973e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.005086/0.005116, allocations: 1.977 MB / 0.8795 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.007101, allocations: 0.6974 MB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.007217, allocations: 4.875 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.007383, allocations: 19.73 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.007521, allocations: 32.78 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.008055, allocations: 96.86 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.008376, allocations: 151.5 kB / 0.8805 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.008613, allocations: 57.03 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.008889, allocations: 100.8 kB / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.009017, allocations: 51.81 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.009065, allocations: 17.03 kB / 0.8807 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.009282, allocations: 63.92 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.009426, allocations: 67.77 kB / 0.8809 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.009556, allocations: 56.47 kB / 0.8809 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.01021, allocations: 275 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01021, allocations: 3.438 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01022, allocations: 0 / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.01022, allocations: 0 / 0.8812 GB, free: 2.785 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.001323/0.01155, allocations: 485 kB / 0.8816 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.01159, allocations: 8.031 kB / 0.8816 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.01509, allocations: 0.663 MB / 0.8823 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.0158, allocations: 272.9 kB / 0.8826 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.01602, allocations: 139.6 kB / 0.8827 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.01608, allocations: 12.38 kB / 0.8827 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.0177, allocations: 456.7 kB / 0.8831 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01771, allocations: 4.125 kB / 0.8831 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.01776, allocations: 8.125 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.01777, allocations: 8 kB / 0.8832 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.02034, allocations: 0.6366 MB / 0.8838 GB, free: 48 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.02342, allocations: 1.01 MB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.02471, allocations: 346.1 kB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.02588, allocations: 324.5 kB / 0.8854 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.02591, allocations: 0 / 0.8854 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/0.02596, allocations: 42.5 kB / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.02596, allocations: 0 / 0.8854 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.003857/0.02982, allocations: 0.9691 MB / 0.8864 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.02988, allocations: 51.41 kB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.03048, allocations: 297.8 kB / 0.8867 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.03053, allocations: 25.7 kB / 0.8867 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.03073, allocations: 152 kB / 0.8869 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.0308, allocations: 27.89 kB / 0.8869 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.03101, allocations: 73.62 kB / 0.887 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005118/0.03152, allocations: 334.8 kB / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.03273, allocations: 307.6 kB / 0.8876 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.03391, allocations: 315.6 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.03605, allocations: 0.5314 MB / 0.8884 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.03605, allocations: 0 / 0.8884 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002243/0.03829, allocations: 0.673 MB / 0.8891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.03831, allocations: 4 kB / 0.8891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.03832, allocations: 80 / 0.8891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.03834, allocations: 0 / 0.8891 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.03886, allocations: 163.7 kB / 0.8892 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.03887, allocations: 7.984 kB / 0.8892 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.03928, allocations: 115.7 kB / 0.8894 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.03946, allocations: 143.7 kB / 0.8895 GB, free: 10.07 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.0001831/0.03964, allocations: 137.8 kB / 0.8896 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.03972, allocations: 23.8 kB / 0.8897 GB, free: 9.906 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.03977, allocations: 29.7 kB / 0.8897 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.03978, allocations: 4 kB / 0.8897 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.03978, allocations: 4 kB / 0.8897 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.03978, allocations: 0 / 0.8897 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.0403, allocations: 356.3 kB / 0.89 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.0403, allocations: 3.984 kB / 0.89 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.04079, allocations: 159.7 kB / 0.8902 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.04079, allocations: 4 kB / 0.8902 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.04083, allocations: 23.91 kB / 0.8902 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.04083, allocations: 7.938 kB / 0.8902 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.04084, allocations: 7.984 kB / 0.8902 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.04256, allocations: 0.7603 MB / 0.891 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.04261, allocations: 19.86 kB / 0.891 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.04265, allocations: 7.938 kB / 0.891 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004355/0.04309, allocations: 115.8 kB / 0.8911 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.04315, allocations: 7.984 kB / 0.8911 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.04333, allocations: 135.8 kB / 0.8912 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002668/0.04359, allocations: 217.2 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.04359, allocations: 0 / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003343/0.04393, allocations: 35.94 kB / 0.8915 GB, free: 7.988 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.0001938/0.04412, allocations: 107.2 kB / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.04577, allocations: 0.6437 MB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.04577, allocations: 4 kB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.04661, allocations: 343.5 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.04696, allocations: 43.81 kB / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.04852, allocations: 0.6496 MB / 0.8932 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.0487, allocations: 136.7 kB / 0.8934 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006265/0.04933, allocations: 384.8 kB / 0.8937 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.04951, allocations: 68.41 kB / 0.8938 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.04951, allocations: 0 / 0.8938 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of Templates: time 0.007751/0.05726, allocations: 2.923 MB / 0.8966 GB, free: 2.672 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.21453138103243]