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.001467/0.001467, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001932/0.001932, allocations: 222 kB / 23 MB, free: 4.91 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.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 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.268/3.268, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002107/0.002107, allocations: 74.39 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3634, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003539/0.3669, allocations: 1.953 MB / 1.367 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3684, allocations: 0.7053 MB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3685, allocations: 3.938 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3687, allocations: 19.8 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.699e-05/0.3688, allocations: 27.72 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.3692, allocations: 91.77 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.3694, allocations: 151.6 kB / 1.368 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3696, allocations: 64.89 kB / 1.368 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3697, allocations: 67.72 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3699, allocations: 71.61 kB / 1.368 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.3699, allocations: 16 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3701, allocations: 55.95 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3702, allocations: 75.73 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.3702, allocations: 75.47 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.3706, allocations: 262.9 kB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3706, allocations: 0 / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3706, allocations: 3.938 kB / 1.368 GB, free: 9.984 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3706, allocations: 0 / 1.368 GB, free: 9.984 MB / 1.061 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.0009193/0.3716, allocations: 486.5 kB / 1.369 GB, free: 9.477 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3716, allocations: 12.03 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.3733, allocations: 432 kB / 1.369 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.3738, allocations: 257.7 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.3739, allocations: 131.5 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3739, allocations: 12.38 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.3748, allocations: 387.3 kB / 1.37 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3748, allocations: 0 / 1.37 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.3748, allocations: 4 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.3749, allocations: 4 kB / 1.37 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.3761, allocations: 0.5392 MB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.3778, allocations: 0.8924 MB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.3785, allocations: 294.2 kB / 1.371 GB, free: 6.449 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.3791, allocations: 268.6 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3791, allocations: 0 / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3792, allocations: 34.56 kB / 1.372 GB, free: 6.141 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.3792, allocations: 0 / 1.372 GB, free: 6.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.001943/0.3811, allocations: 0.7861 MB / 1.373 GB, free: 5.348 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3812, allocations: 55.39 kB / 1.373 GB, free: 5.281 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.3815, allocations: 289.9 kB / 1.373 GB, free: 4.984 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.3815, allocations: 25.7 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3817, allocations: 168 kB / 1.373 GB, free: 4.785 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3817, allocations: 23.78 kB / 1.373 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.3818, allocations: 37.67 kB / 1.373 GB, free: 4.719 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3819, allocations: 334.8 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/0.3825, allocations: 255.8 kB / 1.374 GB, free: 4.133 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/0.3831, allocations: 263.8 kB / 1.374 GB, free: 3.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3842, allocations: 436.4 kB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3842, allocations: 11.88 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001245/0.3854, allocations: 0.5284 MB / 1.375 GB, free: 2.898 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3854, allocations: 4 kB / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3854, allocations: 0 / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3855, allocations: 4 kB / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.3859, allocations: 91.83 kB / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3859, allocations: 3.984 kB / 1.375 GB, free: 2.797 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.3862, allocations: 71.88 kB / 1.375 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.3862, allocations: 7.984 kB / 1.375 GB, free: 2.719 MB / 1.061 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.0001633/0.3864, allocations: 146.8 kB / 1.375 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.3864, allocations: 19.86 kB / 1.375 GB, free: 2.547 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.3865, allocations: 29.64 kB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3865, allocations: 0 / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3865, allocations: 0 / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3865, allocations: 8 kB / 1.375 GB, free: 2.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.3869, allocations: 347.8 kB / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3869, allocations: 0 / 1.376 GB, free: 2.141 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.3873, allocations: 95.77 kB / 1.376 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3873, allocations: 0 / 1.376 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3873, allocations: 15.98 kB / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3873, allocations: 0 / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3873, allocations: 0 / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.3887, allocations: 0.6356 MB / 1.376 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.3887, allocations: 23.8 kB / 1.376 GB, free: 1.355 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.3887, allocations: 0 / 1.376 GB, free: 1.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.3891, allocations: 71.86 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.3891, allocations: 15.92 kB / 1.376 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.3891, allocations: 19.92 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002259/0.3894, allocations: 213.2 kB / 1.377 GB, free: 1.039 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 4 kB / 1.377 GB, free: 1.035 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002978/0.3897, allocations: 35.89 kB / 1.377 GB, free: 1 MB / 1.061 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.0001647/0.3898, allocations: 103.2 kB / 1.377 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3911, allocations: 0.5229 MB / 1.377 GB, free: 376 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3911, allocations: 0 / 1.377 GB, free: 376 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.3918, allocations: 275.7 kB / 1.378 GB, free: 100 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3921, allocations: 18.31 kB / 1.378 GB, free: 84 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3933, allocations: 0.6161 MB / 1.378 GB, free: 15.43 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.3935, allocations: 140.6 kB / 1.378 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3936, allocations: 43.38 kB / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/0.3936, allocations: 0 / 1.378 GB, free: 15.23 MB / 1.076 GB Notification: Performance of Templates: time 0.00656/0.4002, allocations: 3.839 MB / 1.382 GB, free: 11.39 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 12.471049401909113]