Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.00181/0.00181, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002015/0.002015, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.554/1.554, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.9/2.9, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.89 kB / 1.107 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 168.7 MB / 1.272 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003787/1.038, allocations: 1.598 MB / 1.274 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/1.039, allocations: 447.2 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/1.039, allocations: 4.75 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/1.039, allocations: 4.781 kB / 1.274 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/1.039, allocations: 9.562 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/1.039, allocations: 33.48 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/1.039, allocations: 74.59 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/1.039, allocations: 8.188 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/1.039, allocations: 33.58 kB / 1.274 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/1.039, allocations: 33.81 kB / 1.274 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/1.039, allocations: 10.56 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/1.039, allocations: 5.812 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/1.039, allocations: 17.81 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/1.04, allocations: 30.52 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/1.04, allocations: 64.59 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.04, allocations: 1 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.423e-06/1.04, allocations: 0 / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.04, allocations: 0 / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006154/1.04, allocations: 378.2 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.04, allocations: 9.531 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/1.04, allocations: 9.328 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/1.04, allocations: 168.9 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/1.041, allocations: 7.812 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/1.041, allocations: 9.547 kB / 1.275 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/1.041, allocations: 87.72 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/1.041, allocations: 1.125 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.041, allocations: 1.094 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.041, allocations: 0.9688 kB / 1.275 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/1.041, allocations: 51.36 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/1.042, allocations: 324.2 kB / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/1.042, allocations: 80.7 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/1.042, allocations: 37.73 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/1.042, allocations: 5.016 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/1.042, allocations: 116.7 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/1.042, allocations: 0 / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0004847/1.043, allocations: 179.1 kB / 1.276 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/1.043, allocations: 58.5 kB / 1.276 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.043, allocations: 109.1 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.043, allocations: 30.48 kB / 1.276 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/1.043, allocations: 86.72 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/1.043, allocations: 30.22 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/1.043, allocations: 29.59 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/1.043, allocations: 323.6 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/1.043, allocations: 36.48 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.043, allocations: 50.56 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/1.043, allocations: 65.59 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.043, allocations: 0 / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000227/1.044, allocations: 115.1 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.044, allocations: 11.38 kB / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.044, allocations: 0 / 1.277 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/1.044, allocations: 6.094 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/1.044, allocations: 8.281 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/1.044, allocations: 1.781 kB / 1.277 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/1.044, allocations: 15.17 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/1.044, allocations: 3.844 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,soc.suspend,soc.discharged,$PRE.soc.discharged,soc.charged,$PRE.soc.charged,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.079e-05/1.044, allocations: 125.5 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/1.044, allocations: 8.516 kB / 1.277 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/1.044, allocations: 15.03 kB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.044, allocations: 5.125 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.044, allocations: 1.219 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.044, allocations: 1.453 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/1.044, allocations: 190.3 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.044, allocations: 0 / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/1.044, allocations: 11.89 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.044, allocations: 0 / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.044, allocations: 7.391 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.044, allocations: 4.859 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.044, allocations: 4 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/1.045, allocations: 224.7 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/1.045, allocations: 82.69 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/1.045, allocations: 8.859 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/1.045, allocations: 6.797 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/1.045, allocations: 13.16 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/1.045, allocations: 7.844 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.638e-05/1.045, allocations: 91.52 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.045, allocations: 0 / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002057/1.045, allocations: 17.44 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (soc.SOC) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,soc.charged,soc.discharged,soc.suspend) * Number of discrete states: 2 (soc.discharged,soc.charged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001232/1.045, allocations: 104.6 kB / 1.278 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000265/1.046, allocations: 93.73 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.046, allocations: 0 / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.046, allocations: 52.25 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/1.046, allocations: 19.59 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/1.046, allocations: 272.6 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/1.047, allocations: 0.6977 MB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.764e-05/1.047, allocations: 6.641 kB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/1.047, allocations: 14.05 kB / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.047, allocations: 0 / 1.279 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of Templates: time 0.004292/1.051, allocations: 1.115 MB / 1.28 GB, free: 2.688 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_StateOfCharge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.582658593542874]