Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001317/0.001317, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001432/0.001432, allocations: 214.2 kB / 22.99 MB, free: 4.984 MB / 14.72 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.58 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003486/0.3209, allocations: 1.966 MB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3225, allocations: 0.7169 MB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3226, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3227, allocations: 19.73 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.3228, allocations: 27.8 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3232, allocations: 95.77 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3234, allocations: 147.6 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.3236, allocations: 64.89 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.3238, allocations: 67.72 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3239, allocations: 79.55 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.324, allocations: 16 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.3241, allocations: 71.94 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3242, allocations: 67.81 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.879e-05/0.3243, allocations: 75.52 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.3247, allocations: 270.8 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3247, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3247, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3247, allocations: 7.875 kB / 1.331 GB, free: 13.3 MB / 1.029 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.0008912/0.3256, allocations: 481 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3256, allocations: 8.031 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.3276, allocations: 436 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.3281, allocations: 257.7 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.3283, allocations: 123.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.3283, allocations: 16.36 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.3293, allocations: 384 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3293, allocations: 3.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3293, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3293, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3307, allocations: 0.5429 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.3325, allocations: 0.8763 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007685/0.3333, allocations: 294.2 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007043/0.334, allocations: 272.6 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.334, allocations: 4.156 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.334, allocations: 30.56 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.334, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.002106/0.3361, allocations: 0.7859 MB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3362, allocations: 59.41 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.3365, allocations: 297.8 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.3365, allocations: 25.7 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3366, allocations: 152 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.3367, allocations: 19.8 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.3368, allocations: 41.67 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.337, allocations: 330.8 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.3376, allocations: 255.8 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.3383, allocations: 263.7 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.3395, allocations: 444.3 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3395, allocations: 3.938 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00135/0.3408, allocations: 0.5361 MB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3409, allocations: 8 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3409, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3409, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.3413, allocations: 91.83 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3413, allocations: 0 / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.3417, allocations: 75.81 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.3417, allocations: 7.984 kB / 1.338 GB, free: 6.066 MB / 1.029 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.000159/0.3419, allocations: 146.3 kB / 1.338 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.3419, allocations: 15.91 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.342, allocations: 25.7 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.342, allocations: 4 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.342, allocations: 3.938 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.342, allocations: 0 / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.3424, allocations: 359.7 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3424, allocations: 0 / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.3428, allocations: 95.77 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3428, allocations: 0 / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3429, allocations: 11.97 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3429, allocations: 0 / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3429, allocations: 0 / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3443, allocations: 0.6322 MB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.3443, allocations: 27.88 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.3444, allocations: 4 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.3447, allocations: 67.88 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.3448, allocations: 11.98 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.3448, allocations: 7.984 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002312/0.3451, allocations: 217.2 kB / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3451, allocations: 0 / 1.339 GB, free: 4.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000327/0.3454, allocations: 39.89 kB / 1.339 GB, free: 4.355 MB / 1.029 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.0001656/0.3456, allocations: 111.2 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.3469, allocations: 0.5229 MB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3469, allocations: 0 / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.3476, allocations: 279.7 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.3479, allocations: 20.03 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3492, allocations: 0.5949 MB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.3494, allocations: 136.6 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.3496, allocations: 57.42 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3497, allocations: 31.39 kB / 1.341 GB, free: 2.562 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.3497, allocations: 4 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of Templates: time 0.006956/0.3566, allocations: 3.139 MB / 1.344 GB, free: 15.43 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.523016451988951]