Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 119.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3039, allocations: 160.7 MB / 1.214 GB, free: 0.9688 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003627/0.3075, allocations: 1.993 MB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3089, allocations: 0.6982 MB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.309, allocations: 0 / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.3092, allocations: 19.73 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/0.3093, allocations: 23.81 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.3096, allocations: 91.77 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.3099, allocations: 151.6 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.31, allocations: 60.56 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3102, allocations: 59.72 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3103, allocations: 75.61 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.3103, allocations: 16 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.3105, allocations: 67.89 kB / 1.217 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3106, allocations: 67.75 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3107, allocations: 95.39 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.3111, allocations: 266.8 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3111, allocations: 3.938 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3111, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3111, allocations: 0 / 1.218 GB, free: 13.27 MB / 0.9669 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.0009618/0.312, allocations: 0.5489 MB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3121, allocations: 8.031 kB / 1.218 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.3138, allocations: 424 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.3143, allocations: 312 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/0.3144, allocations: 72.17 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.3144, allocations: 12.38 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009014/0.3153, allocations: 387.8 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3153, allocations: 0 / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3153, allocations: 4 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3154, allocations: 8 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3167, allocations: 0.5392 MB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.3185, allocations: 1.001 MB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.3192, allocations: 290.3 kB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.3199, allocations: 268.6 kB / 1.221 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3199, allocations: 3.938 kB / 1.221 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.3199, allocations: 34.56 kB / 1.221 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3199, allocations: 0 / 1.221 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.002034/0.322, allocations: 0.7861 MB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.322, allocations: 55.39 kB / 1.222 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.3223, allocations: 298.7 kB / 1.223 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3224, allocations: 25.7 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3225, allocations: 148.2 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.3225, allocations: 27.84 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.3226, allocations: 37.67 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3228, allocations: 334.8 kB / 1.223 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006423/0.3234, allocations: 255.8 kB / 1.223 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.3241, allocations: 267.7 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.3252, allocations: 440.4 kB / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3252, allocations: 0 / 1.224 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00136/0.3265, allocations: 0.5284 MB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3266, allocations: 9.875 kB / 1.225 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3266, allocations: 4 kB / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3266, allocations: 0 / 1.225 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.327, allocations: 87.83 kB / 1.225 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.327, allocations: 11.92 kB / 1.225 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.3273, allocations: 75.77 kB / 1.225 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3274, allocations: 7.984 kB / 1.225 GB, free: 5.801 MB / 0.9669 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.0001832/0.3276, allocations: 149.8 kB / 1.225 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.3276, allocations: 19.86 kB / 1.225 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.3277, allocations: 29.64 kB / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3277, allocations: 0 / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3277, allocations: 4 kB / 1.225 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3277, allocations: 7.922 kB / 1.225 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.3282, allocations: 436.3 kB / 1.225 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3282, allocations: 0 / 1.225 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.3286, allocations: 95.83 kB / 1.225 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3286, allocations: 0 / 1.225 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.3286, allocations: 7.984 kB / 1.225 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3286, allocations: 0 / 1.225 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3286, allocations: 0 / 1.225 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.3301, allocations: 0.6399 MB / 1.226 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.3302, allocations: 96.97 kB / 1.226 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.3302, allocations: 0 / 1.226 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.3305, allocations: 75.86 kB / 1.226 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3306, allocations: 11.98 kB / 1.226 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.3306, allocations: 7.984 kB / 1.226 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002458/0.3309, allocations: 221.9 kB / 1.226 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3309, allocations: 0 / 1.226 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003295/0.3312, allocations: 43.89 kB / 1.226 GB, free: 3.883 MB / 0.9669 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.0001972/0.3314, allocations: 103.2 kB / 1.227 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001382/0.3328, allocations: 0.5268 MB / 1.227 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3328, allocations: 0 / 1.227 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.3335, allocations: 271.7 kB / 1.227 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3338, allocations: 20.44 kB / 1.227 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3351, allocations: 0.6275 MB / 1.228 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.3356, allocations: 0.7552 MB / 1.229 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3357, allocations: 35.38 kB / 1.229 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.3357, allocations: 0 / 1.229 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of Templates: time 0.006562/0.3423, allocations: 3.78 MB / 1.232 GB, free: 13.7 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.124554597074166]