Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001538/0.001538, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001751/0.001751, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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.489/1.489, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.777/2.777, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.002e-05, allocations: 2.969 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.00365/0.00368, allocations: 1.97 MB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.005263, allocations: 0.7082 MB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.005365, allocations: 0 / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.005516, allocations: 31.72 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.005608, allocations: 17.38 kB / 0.7891 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.006057, allocations: 107.7 kB / 0.7892 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.006304, allocations: 152.5 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.006474, allocations: 58.72 kB / 0.7894 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.006681, allocations: 99.72 kB / 0.7895 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.00678, allocations: 52.44 kB / 0.7895 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.006814, allocations: 13.41 kB / 0.7895 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.006981, allocations: 71.86 kB / 0.7896 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.0071, allocations: 63.77 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.007189, allocations: 59.77 kB / 0.7897 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.007621, allocations: 284.2 kB / 0.79 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007624, allocations: 0 / 0.79 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.007625, allocations: 0 / 0.79 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.00763, allocations: 1.062 kB / 0.79 GB, free: 9.137 MB / 0.7448 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.00094/0.00857, allocations: 490.2 kB / 0.7904 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.008611, allocations: 12.03 kB / 0.7905 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.01091, allocations: 0.6535 MB / 0.7911 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.0114, allocations: 270.3 kB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.01155, allocations: 139.6 kB / 0.7915 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.01159, allocations: 12.38 kB / 0.7915 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.01264, allocations: 451.9 kB / 0.7919 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01265, allocations: 192 / 0.7919 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.01268, allocations: 13.81 kB / 0.7919 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.01269, allocations: 4 kB / 0.7919 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.01435, allocations: 0.6429 MB / 0.7926 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.01638, allocations: 0.9984 MB / 0.7935 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000863/0.01724, allocations: 342.1 kB / 0.7939 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007679/0.01801, allocations: 324.1 kB / 0.7942 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.01804, allocations: 9.109 kB / 0.7942 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.01807, allocations: 38.5 kB / 0.7942 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.01807, allocations: 0 / 0.7942 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.002476/0.02055, allocations: 0.9736 MB / 0.7952 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.0206, allocations: 51.41 kB / 0.7952 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.02098, allocations: 293.9 kB / 0.7955 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.02101, allocations: 25.7 kB / 0.7955 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.02116, allocations: 160 kB / 0.7957 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.0212, allocations: 23.8 kB / 0.7957 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.02133, allocations: 77.62 kB / 0.7958 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.02153, allocations: 330.8 kB / 0.7961 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007656/0.0223, allocations: 311.6 kB / 0.7964 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007318/0.02303, allocations: 308 kB / 0.7967 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.02439, allocations: 0.5354 MB / 0.7972 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02439, allocations: 0 / 0.7972 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001644/0.02604, allocations: 0.6764 MB / 0.7979 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.02605, allocations: 4 kB / 0.7979 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.02606, allocations: 0 / 0.7979 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.02608, allocations: 0 / 0.7979 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.0266, allocations: 167.7 kB / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.0266, allocations: 0 / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.027, allocations: 119.7 kB / 0.7982 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.02718, allocations: 135.8 kB / 0.7983 GB, free: 492 kB / 0.7448 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.0001916/0.02737, allocations: 141.8 kB / 0.7984 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.02745, allocations: 23.8 kB / 0.7984 GB, free: 316 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.0275, allocations: 25.77 kB / 0.7985 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.0275, allocations: 7.938 kB / 0.7985 GB, free: 288 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.02751, allocations: 0 / 0.7985 GB, free: 288 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.02751, allocations: 3.984 kB / 0.7985 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.02805, allocations: 352.3 kB / 0.7988 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.02805, allocations: 3.984 kB / 0.7988 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.02853, allocations: 167.6 kB / 0.799 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.02854, allocations: 0 / 0.799 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.02859, allocations: 31.91 kB / 0.799 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02859, allocations: 0 / 0.799 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.02859, allocations: 3.984 kB / 0.799 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.0305, allocations: 0.7603 MB / 0.7997 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.03055, allocations: 23.86 kB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.03059, allocations: 3.938 kB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.03102, allocations: 115.8 kB / 0.7999 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.03109, allocations: 11.98 kB / 0.7999 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/0.03127, allocations: 143.7 kB / 0.8 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002682/0.03153, allocations: 217.2 kB / 0.8002 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.03153, allocations: 0 / 0.8002 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000339/0.03187, allocations: 39.89 kB / 0.8003 GB, free: 14.38 MB / 0.7605 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.0002114/0.03209, allocations: 103.2 kB / 0.8004 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.03371, allocations: 0.6475 MB / 0.801 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.03371, allocations: 0 / 0.801 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007962/0.03451, allocations: 343.5 kB / 0.8013 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.03485, allocations: 44.41 kB / 0.8014 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.03631, allocations: 0.6534 MB / 0.802 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.03648, allocations: 136.7 kB / 0.8021 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000608/0.03709, allocations: 384.8 kB / 0.8025 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.03726, allocations: 64.42 kB / 0.8026 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/0.03726, allocations: 4 kB / 0.8026 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.007263/0.04452, allocations: 2.951 MB / 0.8055 GB, free: 9.027 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.8242215879727155]