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.002317/0.002317, allocations: 81.5 kB / 19.44 MB, free: 344 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.00279/0.00279, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.386/3.386, allocations: 429.5 MB / 0.6729 GB, free: 4.035 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.844e-06/1.844e-06, allocations: 0 / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.568e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.004279/0.004314, allocations: 1.998 MB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.005814, allocations: 0.7153 MB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.005918, allocations: 8.594 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.00606, allocations: 17.39 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.006168, allocations: 23.73 kB / 0.8802 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.006588, allocations: 106.2 kB / 0.8803 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.006818, allocations: 155.5 kB / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.007017, allocations: 57.02 kB / 0.8805 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.007277, allocations: 91.73 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.007394, allocations: 55.8 kB / 0.8806 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.007446, allocations: 16 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.007637, allocations: 62 kB / 0.8807 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.007779, allocations: 71.75 kB / 0.8807 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.007879, allocations: 55.83 kB / 0.8808 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.008403, allocations: 271 kB / 0.8811 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.008411, allocations: 0 / 0.8811 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/0.008413, allocations: 0 / 0.8811 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.008424, allocations: 0.7188 kB / 0.8811 GB, free: 2.984 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.001262/0.009686, allocations: 0.5938 MB / 0.8816 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.009744, allocations: 8.031 kB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.01158, allocations: 495.9 kB / 0.8821 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.01214, allocations: 259.8 kB / 0.8824 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.01232, allocations: 139.6 kB / 0.8825 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.01235, allocations: 8.375 kB / 0.8825 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007808/0.01313, allocations: 360.9 kB / 0.8828 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01315, allocations: 192 / 0.8828 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.01318, allocations: 8.125 kB / 0.8829 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.01319, allocations: 4 kB / 0.8829 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.01423, allocations: 480.3 kB / 0.8833 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.01614, allocations: 0.9785 MB / 0.8843 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.01674, allocations: 262.9 kB / 0.8845 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.01724, allocations: 239.5 kB / 0.8848 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.01726, allocations: 4 kB / 0.8848 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.01731, allocations: 41.33 kB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.01731, allocations: 0 / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.001668/0.01898, allocations: 0.7001 MB / 0.8855 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.01903, allocations: 55.41 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.01944, allocations: 344.3 kB / 0.8859 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.01947, allocations: 25.7 kB / 0.8859 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.01966, allocations: 222.4 kB / 0.8861 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.0197, allocations: 27.94 kB / 0.8861 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.01985, allocations: 79.28 kB / 0.8862 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003359/0.02019, allocations: 0.5157 MB / 0.8867 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.02067, allocations: 215.8 kB / 0.8869 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.02113, allocations: 219.8 kB / 0.8871 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.02193, allocations: 363.4 kB / 0.8875 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.02194, allocations: 0 / 0.8875 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001044/0.02298, allocations: 493.1 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.023, allocations: 8 kB / 0.8879 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.02301, allocations: 3.984 kB / 0.8879 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.02303, allocations: 0 / 0.8879 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.02341, allocations: 123.8 kB / 0.8881 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.02342, allocations: 4 kB / 0.8881 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.02367, allocations: 67.8 kB / 0.8881 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.02387, allocations: 139.8 kB / 0.8883 GB, free: 11.37 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.0002041/0.02407, allocations: 168.6 kB / 0.8884 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.02416, allocations: 23.8 kB / 0.8885 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.02421, allocations: 25.77 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.02422, allocations: 0 / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02422, allocations: 3.938 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.02423, allocations: 0 / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.02481, allocations: 383.8 kB / 0.8888 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02481, allocations: 0 / 0.8888 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.02515, allocations: 119.8 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.02516, allocations: 0 / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.0252, allocations: 35.83 kB / 0.889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.0252, allocations: 0 / 0.889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02521, allocations: 0 / 0.889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.02641, allocations: 0.6366 MB / 0.8896 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.02646, allocations: 23.84 kB / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.0265, allocations: 3.938 kB / 0.8896 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.02679, allocations: 71.84 kB / 0.8897 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.02684, allocations: 7.984 kB / 0.8897 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.02702, allocations: 139.7 kB / 0.8899 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002433/0.02726, allocations: 229.1 kB / 0.8901 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02726, allocations: 0 / 0.8901 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003232/0.02759, allocations: 39.89 kB / 0.8901 GB, free: 9.422 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.0002082/0.02779, allocations: 106.6 kB / 0.8902 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.02889, allocations: 487.2 kB / 0.8907 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.0289, allocations: 0 / 0.8907 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.02945, allocations: 267.5 kB / 0.8909 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.0298, allocations: 40.47 kB / 0.891 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.03105, allocations: 0.5498 MB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.03123, allocations: 136.7 kB / 0.8916 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005997/0.03183, allocations: 376.8 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.032, allocations: 60.42 kB / 0.8921 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.032, allocations: 4 kB / 0.8921 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of Templates: time 0.007948/0.03994, allocations: 2.939 MB / 0.8949 GB, free: 4.441 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","/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.494657065952197]