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.001839/0.001839, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002329/0.002329, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476 MB / 0.7699 GB, free: 4.816 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002106/0.002106, allocations: 66 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003773/0.3834, allocations: 1.968 MB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.385, allocations: 0.6975 MB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3851, allocations: 3.938 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3853, allocations: 23.73 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.681e-05/0.3854, allocations: 19.8 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.3858, allocations: 99.77 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.3861, allocations: 159.6 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.3863, allocations: 60.89 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3865, allocations: 71.64 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3866, allocations: 59.69 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.3866, allocations: 16 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.3868, allocations: 63.94 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3869, allocations: 71.75 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.387, allocations: 75.47 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.3874, allocations: 270.9 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3874, allocations: 0 / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3874, allocations: 0 / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.3874, allocations: 4 kB / 1.287 GB, free: 8.234 MB / 0.9825 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.001018/0.3885, allocations: 488.9 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3885, allocations: 8.031 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.3903, allocations: 439.9 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.3907, allocations: 261.7 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.3909, allocations: 123.6 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.3909, allocations: 16.31 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.3918, allocations: 383.3 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3918, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3919, allocations: 4 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3919, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.3932, allocations: 0.5475 MB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.395, allocations: 0.8838 MB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.3957, allocations: 294.2 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.3964, allocations: 268.6 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3964, allocations: 0 / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3964, allocations: 34.55 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3964, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.002179/0.3986, allocations: 0.7898 MB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3987, allocations: 51.41 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.399, allocations: 289.9 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.399, allocations: 29.7 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3992, allocations: 160 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3992, allocations: 27.8 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/0.3993, allocations: 37.67 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3995, allocations: 330.8 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.4001, allocations: 259.8 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.4007, allocations: 260.1 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.4018, allocations: 444.5 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4018, allocations: 3.938 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00132/0.4032, allocations: 0.5361 MB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4032, allocations: 4 kB / 1.293 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4032, allocations: 0 / 1.293 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4032, allocations: 4 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.4036, allocations: 91.83 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4036, allocations: 3.938 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.4039, allocations: 71.88 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.404, allocations: 11.97 kB / 1.293 GB, free: 0.9766 MB / 0.9825 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.0001806/0.4041, allocations: 137.8 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.4042, allocations: 27.86 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.4043, allocations: 21.7 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4043, allocations: 4 kB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4043, allocations: 3.938 kB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4043, allocations: 0 / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.4048, allocations: 351.8 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4048, allocations: 3.938 kB / 1.294 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.4051, allocations: 95.83 kB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4051, allocations: 4 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.4052, allocations: 3.984 kB / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4052, allocations: 3.984 kB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4052, allocations: 0 / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.4067, allocations: 0.6317 MB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.4068, allocations: 19.89 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.4068, allocations: 0 / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4071, allocations: 71.88 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.115e-05/0.4072, allocations: 11.92 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.4072, allocations: 7.984 kB / 1.295 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002267/0.4074, allocations: 217.2 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003284/0.4078, allocations: 39.89 kB / 1.295 GB, free: 15.28 MB / 0.9981 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.0001813/0.4079, allocations: 103.2 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.4093, allocations: 0.5268 MB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4093, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.41, allocations: 279.7 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.4102, allocations: 18.78 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4116, allocations: 0.5901 MB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4118, allocations: 140.6 kB / 1.297 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.412, allocations: 57.42 kB / 1.297 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4121, allocations: 35.33 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.4121, allocations: 4 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of Templates: time 0.007262/0.4194, allocations: 3.109 MB / 1.3 GB, free: 10.41 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.541081169620156]