Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 213.2 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.136/3.136, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 66.55 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.003222/0.3452, allocations: 1.585 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3462, allocations: 482.9 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.3463, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.3463, allocations: 3.938 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.3464, allocations: 11.92 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.3467, allocations: 47.88 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3468, allocations: 67.78 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3469, allocations: 11.98 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.3471, allocations: 39.84 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.396e-05/0.3472, allocations: 35.84 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.3472, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.734e-05/0.3472, allocations: 8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.3473, allocations: 15.98 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.3473, allocations: 23.88 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.3475, allocations: 67.77 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3475, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3475, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3475, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 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.0006145/0.3481, allocations: 306 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3481, allocations: 12.03 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3483, allocations: 20.88 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3485, allocations: 134.3 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3486, allocations: 8.359 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3486, allocations: 8.375 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3488, allocations: 85.95 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3488, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3488, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3488, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.349, allocations: 47.91 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.3495, allocations: 256.5 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.3498, allocations: 86.52 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.3499, allocations: 40.83 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3499, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.3501, allocations: 119.3 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.3501, allocations: 0 / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004273/0.3506, allocations: 165.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3506, allocations: 59.34 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.3507, allocations: 117.8 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3507, allocations: 29.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.3508, allocations: 84.38 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.3508, allocations: 35.88 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.3509, allocations: 29.72 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.351, allocations: 322.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.3511, allocations: 27.98 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.3512, allocations: 46.08 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3513, allocations: 74 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3514, allocations: 3.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002317/0.3516, allocations: 113.6 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3516, allocations: 11.94 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3516, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3516, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.3517, allocations: 19.92 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3517, allocations: 4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.3518, allocations: 7.984 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3518, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 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.0001003/0.3519, allocations: 124 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.3519, allocations: 7.953 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.352, allocations: 8.375 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.352, allocations: 7.984 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.352, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.352, allocations: 7.953 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.352, allocations: 8 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.3521, allocations: 7.984 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.3521, allocations: 19.91 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003894/0.3525, allocations: 228.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004698/0.353, allocations: 366.6 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001052/0.3531, allocations: 44 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.3532, allocations: 99.27 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of Backend: time 3.21e-07/0.3532, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.3536, allocations: 122.4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007447/0.3544, allocations: 0.6898 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of Templates: time 0.004241/0.3586, allocations: 1.393 MB / 1.335 GB, free: 8.992 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_StateOfCharge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.591691706002166]