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.002224/0.002224, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002739/0.002739, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.704/1.704, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.93/2.93, 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.493e-06/1.493e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.53e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003687/0.003712, allocations: 2.001 MB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.00523, allocations: 0.7169 MB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.005326, allocations: 4 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.005456, allocations: 19.73 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.005548, allocations: 27.78 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.005956, allocations: 109.4 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.006184, allocations: 147.6 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.006347, allocations: 57 kB / 0.7894 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.006558, allocations: 100.3 kB / 0.7895 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.006652, allocations: 49.17 kB / 0.7895 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.006691, allocations: 12 kB / 0.7896 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.006867, allocations: 75.81 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.006973, allocations: 65.03 kB / 0.7897 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.007051, allocations: 55.78 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.00747, allocations: 283 kB / 0.79 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.007472, allocations: 0 / 0.79 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.007473, allocations: 0.875 kB / 0.79 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.007478, allocations: 0 / 0.79 GB, free: 9.09 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.0009192/0.008397, allocations: 0.5999 MB / 0.7906 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.008431, allocations: 8.031 kB / 0.7906 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.01016, allocations: 489 kB / 0.7911 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.01065, allocations: 255.8 kB / 0.7913 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.01081, allocations: 139.6 kB / 0.7915 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.01084, allocations: 9.219 kB / 0.7915 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.01162, allocations: 365.9 kB / 0.7918 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01163, allocations: 192 / 0.7918 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.01166, allocations: 8.125 kB / 0.7918 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.01167, allocations: 4 kB / 0.7918 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.01276, allocations: 483.2 kB / 0.7923 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.01488, allocations: 0.9702 MB / 0.7932 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005813/0.01546, allocations: 259.4 kB / 0.7935 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.01597, allocations: 241.9 kB / 0.7937 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.016, allocations: 0 / 0.7937 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.01605, allocations: 45.33 kB / 0.7938 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.01605, allocations: 0.7188 kB / 0.7938 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.001702/0.01775, allocations: 0.7011 MB / 0.7944 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.0178, allocations: 55.41 kB / 0.7945 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.01822, allocations: 340.3 kB / 0.7948 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.01825, allocations: 25.7 kB / 0.7948 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.01845, allocations: 219.6 kB / 0.795 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.0185, allocations: 27.78 kB / 0.7951 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.01867, allocations: 79.3 kB / 0.7952 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003599/0.01903, allocations: 0.5168 MB / 0.7957 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.01952, allocations: 209 kB / 0.7959 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.02, allocations: 227.4 kB / 0.7961 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.02085, allocations: 360.8 kB / 0.7964 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.02085, allocations: 1.094 kB / 0.7964 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001077/0.02193, allocations: 0.4899 MB / 0.7969 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.02194, allocations: 8 kB / 0.7969 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.02195, allocations: 3.938 kB / 0.7969 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.02196, allocations: 0 / 0.7969 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.02234, allocations: 123.8 kB / 0.797 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.02235, allocations: 0 / 0.797 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.0226, allocations: 67.84 kB / 0.7971 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/0.02279, allocations: 139.8 kB / 0.7972 GB, free: 1.52 MB / 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.000175/0.02296, allocations: 160.6 kB / 0.7974 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.02305, allocations: 31.8 kB / 0.7974 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.0231, allocations: 29.75 kB / 0.7974 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.0231, allocations: 0 / 0.7974 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02311, allocations: 0 / 0.7974 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.02311, allocations: 0 / 0.7974 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.02367, allocations: 379.5 kB / 0.7978 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.02367, allocations: 0 / 0.7978 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.02403, allocations: 127.8 kB / 0.7979 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.02403, allocations: 0 / 0.7979 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.02409, allocations: 35.89 kB / 0.798 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.02409, allocations: 0 / 0.798 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02409, allocations: 0 / 0.798 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.0253, allocations: 0.636 MB / 0.7986 GB, free: 72 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.02536, allocations: 27.84 kB / 0.7986 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.0254, allocations: 3.938 kB / 0.7986 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.0257, allocations: 63.91 kB / 0.7987 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.02576, allocations: 15.92 kB / 0.7987 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/0.02595, allocations: 135.8 kB / 0.7988 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002379/0.02619, allocations: 225.1 kB / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02619, allocations: 0 / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003153/0.0265, allocations: 43.89 kB / 0.7991 GB, free: 15.57 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.0002236/0.02673, allocations: 111.2 kB / 0.7992 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.0278, allocations: 479.2 kB / 0.7996 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.0278, allocations: 0 / 0.7996 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.02857, allocations: 267.4 kB / 0.7999 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.02889, allocations: 40.47 kB / 0.7999 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.03012, allocations: 0.5536 MB / 0.8005 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.03031, allocations: 136.7 kB / 0.8006 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006201/0.03093, allocations: 376.8 kB / 0.801 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.0311, allocations: 64.42 kB / 0.801 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.0311, allocations: 4 kB / 0.801 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.007565/0.03866, allocations: 2.943 MB / 0.8039 GB, free: 10.57 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 240] 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: 8.211895679007284]