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.001887/0.001887, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.002384/0.002384, allocations: 198.4 kB / 22.17 MB, free: 5.211 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.464/1.464, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.753/2.753, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002073/0.002073, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.7076, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.00265/0.7102, allocations: 1.587 MB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.7109, allocations: 456.5 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.711, allocations: 0 / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.711, allocations: 3.938 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.7111, allocations: 15.91 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.7112, allocations: 31.91 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.7114, allocations: 71.78 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.7115, allocations: 11.97 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.7116, allocations: 35.92 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.7116, allocations: 27.91 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.7117, allocations: 4 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.7117, allocations: 8 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.7117, allocations: 23.91 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.7117, allocations: 23.88 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.7119, allocations: 66.38 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7119, allocations: 8 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7119, allocations: 0 / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7119, allocations: 0 / 1.276 GB, free: 2.188 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.0005832/0.7125, allocations: 375.2 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.7125, allocations: 12.03 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.7125, allocations: 8.891 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.7127, allocations: 172.3 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.7127, allocations: 4.375 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.7127, allocations: 8.375 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.7129, allocations: 85.89 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7129, allocations: 4 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.7129, allocations: 11.92 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.7129, allocations: 0 / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.7131, allocations: 43.97 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.7136, allocations: 316.7 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.7139, allocations: 90.58 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.218e-05/0.714, allocations: 36.83 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.714, allocations: 8.141 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.7142, allocations: 111.2 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.7142, allocations: 4 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004091/0.7146, allocations: 181.4 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.7147, allocations: 51.41 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.58e-05/0.7148, allocations: 109.8 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7148, allocations: 29.7 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.7148, allocations: 88.38 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.7149, allocations: 27.8 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.7149, allocations: 25.72 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7151, allocations: 326.8 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/0.7152, allocations: 27.98 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.7153, allocations: 45.7 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.7154, allocations: 69.62 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7154, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002266/0.7156, allocations: 121.5 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7156, allocations: 4 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7156, allocations: 4 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.7157, allocations: 0 / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.7157, allocations: 11.98 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.7157, allocations: 4 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.7158, allocations: 15.92 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.7158, allocations: 0 / 1.279 GB, free: 15.57 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.0001027/0.7159, allocations: 133.7 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.716, allocations: 7.953 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.716, allocations: 16.36 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.716, allocations: 0 / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.716, allocations: 4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.716, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.7162, allocations: 197.5 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7162, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.7163, allocations: 11.98 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7163, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7163, allocations: 4 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.7163, allocations: 4 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7163, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.7167, allocations: 225.3 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.7167, allocations: 85.09 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.7168, allocations: 4 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.7168, allocations: 7.984 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.7169, allocations: 16.05 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.7169, allocations: 15.98 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.717, allocations: 83.28 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.717, allocations: 3.938 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002155/0.7172, allocations: 23.98 kB / 1.279 GB, free: 14.64 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.0001166/0.7173, allocations: 99.25 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.7175, allocations: 91.77 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7175, allocations: 4 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.7177, allocations: 55.91 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.7179, allocations: 8 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.7184, allocations: 273.1 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7187, allocations: 0.6924 MB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.7187, allocations: 8.672 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.7188, allocations: 15.42 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.7188, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.00379/0.7225, allocations: 1.107 MB / 1.282 GB, free: 12.24 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 gbode -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: 8.366384660825133]