Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.5 MB / 0.7309 GB, free: 13.96 MB / 0.5762 GB [Timeout remaining time 87] 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.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 1.06 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 160.7 MB / 1.217 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003065/0.3077, allocations: 1.563 MB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.3085, allocations: 459.6 kB / 1.219 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.3086, allocations: 0 / 1.219 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.3086, allocations: 7.938 kB / 1.219 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.3087, allocations: 23.78 kB / 1.219 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3089, allocations: 23.97 kB / 1.219 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.309, allocations: 67.84 kB / 1.219 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.3091, allocations: 11.98 kB / 1.219 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3092, allocations: 39.84 kB / 1.219 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.3092, allocations: 31.84 kB / 1.219 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.3093, allocations: 8 kB / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.3093, allocations: 4 kB / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.3093, allocations: 15.98 kB / 1.219 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.3094, allocations: 31.86 kB / 1.219 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.3095, allocations: 71.7 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3095, allocations: 0 / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3095, allocations: 0 / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3095, allocations: 0 / 1.219 GB, free: 13.11 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006178/0.3101, allocations: 371.2 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3102, allocations: 12.03 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3102, allocations: 8.891 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.3103, allocations: 180.2 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.3104, allocations: 4.375 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3104, allocations: 8.375 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.3106, allocations: 81.95 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3106, allocations: 0 / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.3106, allocations: 7.984 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3106, allocations: 0 / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3108, allocations: 47.91 kB / 1.22 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.3113, allocations: 316.8 kB / 1.22 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3116, allocations: 78.55 kB / 1.22 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.3117, allocations: 37 kB / 1.22 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3117, allocations: 3.984 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.312, allocations: 123.2 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.312, allocations: 3.938 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004283/0.3124, allocations: 169.6 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3125, allocations: 55.39 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3126, allocations: 113.8 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3126, allocations: 33.7 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.3127, allocations: 92.31 kB / 1.221 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.3127, allocations: 35.67 kB / 1.221 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3128, allocations: 25.72 kB / 1.221 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.313, allocations: 322.8 kB / 1.221 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.3131, allocations: 27.98 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.3132, allocations: 45.7 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3133, allocations: 73.62 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3133, allocations: 0 / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002119/0.3135, allocations: 109.6 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3135, allocations: 6.188 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3135, allocations: 4 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3136, allocations: 0 / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.3136, allocations: 15.92 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3136, allocations: 8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.3137, allocations: 15.98 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3137, allocations: 320 / 1.221 GB, free: 10.49 MB / 0.9669 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 9.866e-05/0.3138, allocations: 121.8 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.3139, allocations: 7.953 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.3139, allocations: 12.38 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3139, allocations: 3.938 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3139, allocations: 7.984 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3139, allocations: 0 / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3141, allocations: 205.5 kB / 1.222 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3141, allocations: 0 / 1.222 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.898e-05/0.3142, allocations: 11.98 kB / 1.222 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3142, allocations: 3.938 kB / 1.222 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3142, allocations: 0 / 1.222 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3142, allocations: 4 kB / 1.222 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3142, allocations: 0 / 1.222 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.3146, allocations: 221.5 kB / 1.222 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3146, allocations: 85.09 kB / 1.222 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.3147, allocations: 4 kB / 1.222 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.3148, allocations: 7.984 kB / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.3148, allocations: 15.98 kB / 1.222 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3148, allocations: 7.984 kB / 1.222 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.269e-05/0.3149, allocations: 87.27 kB / 1.222 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3149, allocations: 0 / 1.222 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001987/0.3151, allocations: 20 kB / 1.222 GB, free: 9.582 MB / 0.9669 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.0001491/0.3152, allocations: 111.2 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3155, allocations: 87.83 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3155, allocations: 4 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3156, allocations: 47.92 kB / 1.222 GB, free: 9.328 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.3158, allocations: 15.92 kB / 1.222 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.3164, allocations: 302.7 kB / 1.223 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3167, allocations: 0.6885 MB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3167, allocations: 15.44 kB / 1.223 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3167, allocations: 4 kB / 1.223 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.002931/0.3197, allocations: 1.123 MB / 1.224 GB, free: 7.129 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_StateOfCharge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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