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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 112.6 kB / 17.08 MB, free: 5.941 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.001281/0.001281, allocations: 194.2 kB / 20.03 MB, free: 3.027 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.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,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=2500,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.002007/0.002007, allocations: 68.03 kB / 1.028 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3349, allocations: 151.6 MB / 1.176 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002767/0.3377, allocations: 1.566 MB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.3385, allocations: 447 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.3386, allocations: 4 kB / 1.178 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.3386, allocations: 3.938 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.3387, allocations: 3.938 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.339, allocations: 35.89 kB / 1.178 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3391, allocations: 71.78 kB / 1.178 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3393, allocations: 15.98 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3394, allocations: 31.91 kB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.48e-05/0.3395, allocations: 31.84 kB / 1.178 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3396, allocations: 8 kB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.3396, allocations: 8 kB / 1.178 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.3396, allocations: 19.92 kB / 1.178 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.3397, allocations: 27.91 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3399, allocations: 67.72 kB / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3399, allocations: 0 / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3399, allocations: 0 / 1.178 GB, free: 3.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3399, allocations: 0 / 1.178 GB, free: 3.496 MB / 0.92 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.0007254/0.3406, allocations: 371.3 kB / 1.178 GB, free: 3.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3407, allocations: 12.02 kB / 1.178 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.3407, allocations: 12.89 kB / 1.179 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3409, allocations: 180.2 kB / 1.179 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.341, allocations: 8.375 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.341, allocations: 4.375 kB / 1.179 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3412, allocations: 93.81 kB / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3412, allocations: 0 / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3413, allocations: 4 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3413, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3414, allocations: 39.97 kB / 1.179 GB, free: 2.695 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.342, allocations: 320.7 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.3423, allocations: 106.5 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.3424, allocations: 44.84 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3424, allocations: 0 / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.3427, allocations: 115.3 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3427, allocations: 0 / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004063/0.3431, allocations: 173.9 kB / 1.18 GB, free: 1.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3432, allocations: 55.34 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3433, allocations: 121.8 kB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3433, allocations: 25.7 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.3434, allocations: 88.38 kB / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3434, allocations: 35.88 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.3435, allocations: 29.7 kB / 1.18 GB, free: 1.484 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3436, allocations: 318.8 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.3437, allocations: 27.98 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.082e-05/0.3438, allocations: 57.19 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3439, allocations: 69.64 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3439, allocations: 0 / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002155/0.3442, allocations: 121.5 kB / 1.18 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3442, allocations: 8 kB / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3442, allocations: 0 / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3442, allocations: 0 / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.3443, allocations: 8 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3443, allocations: 8 kB / 1.18 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.3444, allocations: 7.984 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3444, allocations: 4 kB / 1.18 GB, free: 0.8438 MB / 0.92 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.0001037/0.3445, allocations: 127.6 kB / 1.181 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.3445, allocations: 11.94 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.3446, allocations: 8.375 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3446, allocations: 4 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3446, allocations: 0 / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3446, allocations: 4 kB / 1.181 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3448, allocations: 197.5 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3448, allocations: 0 / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.3449, allocations: 11.98 kB / 1.181 GB, free: 440 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3449, allocations: 7.969 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3449, allocations: 4 kB / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3449, allocations: 7.984 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3449, allocations: 0 / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.3453, allocations: 220.8 kB / 1.181 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.3454, allocations: 85.09 kB / 1.181 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3454, allocations: 3.984 kB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3455, allocations: 8 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3456, allocations: 15.97 kB / 1.181 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3456, allocations: 8 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.3457, allocations: 83.27 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3457, allocations: 0 / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001981/0.3459, allocations: 24.06 kB / 1.181 GB, free: 15.93 MB / 0.9356 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.000143/0.346, allocations: 103.2 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.3463, allocations: 95.77 kB / 1.181 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3463, allocations: 0 / 1.181 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3464, allocations: 71.89 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.3466, allocations: 16.75 kB / 1.182 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.3472, allocations: 289.3 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3475, allocations: 0.6885 MB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.3476, allocations: 19.44 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3476, allocations: 0 / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.003339/0.3509, allocations: 1.129 MB / 1.184 GB, free: 13.46 MB / 0.9356 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_2/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 [Calling sys.exit(0), Time elapsed: 10.53995763300918]