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.001712/0.001712, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002012/0.002012, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.519/1.519, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.856/2.856, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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.002228/0.002228, allocations: 67.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8408, allocations: 168.7 MB / 1.274 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002998/0.8438, allocations: 1.592 MB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008084/0.8446, allocations: 456.5 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.8447, allocations: 8 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.8447, allocations: 3.938 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.979e-05/0.8448, allocations: 7.875 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.8451, allocations: 31.95 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.8452, allocations: 71.83 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.8453, allocations: 8 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.8454, allocations: 35.84 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.8455, allocations: 35.84 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.8455, allocations: 8 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.8455, allocations: 4 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.8456, allocations: 15.98 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.8456, allocations: 27.86 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.8458, allocations: 74.38 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.8458, allocations: 0 / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8458, allocations: 0 / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.8458, allocations: 0 / 1.276 GB, free: 2.012 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.0006533/0.8464, allocations: 375.2 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8465, allocations: 12.03 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.8465, allocations: 8.891 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.8467, allocations: 168.3 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.8467, allocations: 12.36 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.8467, allocations: 4.375 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.8469, allocations: 85.95 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8469, allocations: 0 / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.847, allocations: 4 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.847, allocations: 4 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.8471, allocations: 39.97 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.8477, allocations: 324.6 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.848, allocations: 86.53 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.8481, allocations: 36.84 kB / 1.277 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.8481, allocations: 0 / 1.277 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.8484, allocations: 119.2 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.8484, allocations: 3.938 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004335/0.8489, allocations: 173.6 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.8489, allocations: 55.41 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.849, allocations: 113.8 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.8491, allocations: 29.64 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.8491, allocations: 92.36 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.8492, allocations: 27.95 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.8492, allocations: 29.7 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.8494, allocations: 318.8 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.8495, allocations: 35.97 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.8496, allocations: 49.64 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.8498, allocations: 66.08 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8498, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002232/0.85, allocations: 113.5 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.85, allocations: 8 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.85, allocations: 4.25 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.85, allocations: 4 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.8501, allocations: 15.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8501, allocations: 4 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.8502, allocations: 7.938 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.8502, allocations: 7.984 kB / 1.279 GB, free: 15.39 MB / 0.9825 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 0.000128/0.8503, allocations: 132.1 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.8504, allocations: 7.953 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.8504, allocations: 12.38 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8504, allocations: 4 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.8504, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8504, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.8506, allocations: 197.5 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8506, allocations: 0 / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.8507, allocations: 8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8507, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.8507, allocations: 3.984 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8507, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8507, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.8512, allocations: 224.8 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.8512, allocations: 85.09 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.8513, allocations: 3.984 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.8513, allocations: 7.984 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.8514, allocations: 15.98 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.8514, allocations: 4 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.8515, allocations: 91.33 kB / 1.279 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8515, allocations: 0 / 1.279 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002031/0.8517, allocations: 23.94 kB / 1.279 GB, free: 14.47 MB / 0.9825 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.000175/0.8518, allocations: 110 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.8521, allocations: 87.83 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8521, allocations: 7.938 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.8522, allocations: 51.91 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.8524, allocations: 11.98 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.853, allocations: 269.1 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.8533, allocations: 0.6924 MB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.8534, allocations: 8.656 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.8534, allocations: 15.38 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.8534, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of Templates: time 0.004102/0.8575, allocations: 1.111 MB / 1.282 GB, free: 12.06 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.067835407797247]