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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 108.2 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001878, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.463/2.463, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7543, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.002458/0.7568, allocations: 1.58 MB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000676/0.7575, allocations: 451 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.7576, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.7576, allocations: 3.938 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.151e-05/0.7577, allocations: 7.875 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.7579, allocations: 31.95 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.758, allocations: 67.84 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.7581, allocations: 15.92 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.7582, allocations: 35.91 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.7583, allocations: 31.84 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.7583, allocations: 4 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.7583, allocations: 8 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.7583, allocations: 15.98 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.7584, allocations: 35.84 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.7585, allocations: 59.78 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7585, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7585, allocations: 0 / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.7585, allocations: 8 kB / 1.17 GB, free: 1.492 MB / 0.8887 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.0005327/0.7591, allocations: 369 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.7591, allocations: 12.91 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.7592, allocations: 4.938 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.7593, allocations: 176.2 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.7593, allocations: 4.375 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.7593, allocations: 8.312 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.7595, allocations: 93.94 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7595, allocations: 0 / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7596, allocations: 0 / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7596, allocations: 4 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.7597, allocations: 39.97 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.7602, allocations: 320.6 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.7605, allocations: 106.5 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.7606, allocations: 52.72 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.7606, allocations: 0 / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.7608, allocations: 115.4 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.7608, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0003901/0.7612, allocations: 169.5 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.7613, allocations: 55.34 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.036e-05/0.7614, allocations: 113.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7614, allocations: 29.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.7614, allocations: 88.38 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.7615, allocations: 35.69 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.7615, allocations: 37.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.7616, allocations: 318.8 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/0.7617, allocations: 31.98 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.7618, allocations: 51.44 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.7619, allocations: 62.08 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.762, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002035/0.7622, allocations: 125.4 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7622, allocations: 8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7622, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7622, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.7623, allocations: 8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.7623, allocations: 4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.7624, allocations: 11.98 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.7624, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 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 8.723e-05/0.7625, allocations: 125.7 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.7625, allocations: 11.89 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.7626, allocations: 12.38 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7626, allocations: 4.031 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7626, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.7626, allocations: 85.05 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.7627, allocations: 7.984 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.7627, allocations: 11.94 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.7628, allocations: 11.97 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003395/0.7631, allocations: 228.8 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003919/0.7635, allocations: 358.7 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001038/0.7637, allocations: 64 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.7637, allocations: 91.27 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of Backend: time 3.81e-07/0.7637, allocations: 4.062 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.7641, allocations: 136.5 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005917/0.7647, allocations: 0.689 MB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.003394/0.7681, allocations: 1.185 MB / 1.175 GB, free: 11.75 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.pipe 2>&1) 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) Reference file matches