Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.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.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dat.y.1.|TIn.Celsius|dat.y.2.|TOut.T|dat.y.3.|iceTan.m_flow|dat.y.4.|iceTan.SOC",fileNamePrefix="Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 111 kB / 16.41 MB, free: 6.461 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.001714/0.001714, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.388/2.388, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.09 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.7487, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2): time 0.05793/0.8066, allocations: 54.55 MB / 1.221 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01294/0.8196, allocations: 9.171 MB / 1.23 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.821, allocations: 43.75 kB / 1.23 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.8227, allocations: 0.5508 MB / 1.23 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003749/0.8265, allocations: 1.408 MB / 1.232 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.8296, allocations: 1.237 MB / 1.233 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003603/0.8332, allocations: 2.781 MB / 1.235 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.8349, allocations: 1.088 MB / 1.237 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/0.8397, allocations: 2.136 MB / 1.239 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.841, allocations: 0.8109 MB / 1.239 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.8412, allocations: 128 kB / 1.24 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/0.8447, allocations: 1.684 MB / 1.241 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.8451, allocations: 378.8 kB / 1.242 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.846, allocations: 0.7189 MB / 1.242 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.8494, allocations: 2.44 MB / 1.245 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8494, allocations: 4 kB / 1.245 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8495, allocations: 0 / 1.245 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.095e-05/0.8495, allocations: 0 / 1.245 GB, free: 4.469 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003042/0.8525, allocations: 1.864 MB / 1.246 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8526, allocations: 16.88 kB / 1.246 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.8548, allocations: 0.5695 MB / 1.247 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.8569, allocations: 1.213 MB / 1.248 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.857, allocations: 133.3 kB / 1.248 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.8572, allocations: 83.92 kB / 1.248 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.8593, allocations: 1.188 MB / 1.25 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.8593, allocations: 7.953 kB / 1.25 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.8594, allocations: 32 kB / 1.25 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.8594, allocations: 16 kB / 1.25 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.8618, allocations: 1.175 MB / 1.251 GB, free: 14 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006338/0.8681, allocations: 5.125 MB / 1.256 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.8698, allocations: 0.811 MB / 1.257 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.8708, allocations: 0.5486 MB / 1.257 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/0.8714, allocations: 0.7484 MB / 1.258 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.8727, allocations: 0.6714 MB / 1.258 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=54): time 2.354e-06/0.8727, allocations: 0 / 1.258 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54): time 0.00333/0.876, allocations: 1.599 MB / 1.26 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.8761, allocations: 115.2 kB / 1.26 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.8775, allocations: 1.138 MB / 1.261 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.8776, allocations: 41.7 kB / 1.261 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/0.878, allocations: 0.5713 MB / 1.262 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.8782, allocations: 186.5 kB / 1.262 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.8785, allocations: 154.2 kB / 1.262 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8786, allocations: 330 kB / 1.262 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.8796, allocations: 0.4953 MB / 1.263 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.8807, allocations: 0.6561 MB / 1.264 GB, free: 244 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.8826, allocations: 0.963 MB / 1.265 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8826, allocations: 4 kB / 1.265 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002439/0.8851, allocations: 1.236 MB / 1.266 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8851, allocations: 8 kB / 1.266 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8851, allocations: 4 kB / 1.266 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8852, allocations: 7.938 kB / 1.266 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007637/0.8859, allocations: 207.6 kB / 1.266 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.886, allocations: 8 kB / 1.266 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.8868, allocations: 147.4 kB / 1.266 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.8869, allocations: 39.97 kB / 1.266 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.8882, allocations: 0.7393 MB / 1.267 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.8893, allocations: 0.6522 MB / 1.268 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001863/0.8912, allocations: 0.9669 MB / 1.268 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.8912, allocations: 0 / 1.268 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002417/0.8936, allocations: 1.232 MB / 1.27 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.8937, allocations: 4 kB / 1.27 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8937, allocations: 7.938 kB / 1.27 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.8937, allocations: 11.98 kB / 1.27 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/0.8944, allocations: 199.7 kB / 1.27 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.8945, allocations: 15.92 kB / 1.27 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008363/0.8953, allocations: 135.6 kB / 1.27 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.8954, allocations: 35.97 kB / 1.27 GB, free: 9.465 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.dat.nextTimeEvent,$whenCondition1,dat.nextTimeEventScaled,$PRE.dat.nextTimeEventScaled,dat.nextTimeEvent,iceTan.tanHeaTra.canMelt.greHys.y,$PRE.iceTan.tanHeaTra.canMelt.greHys.y,iceTan.tanHeaTra.canFreeze.lesHys.y,$PRE.iceTan.tanHeaTra.canFreeze.lesHys.y,iceTan.tanHeaTra.SOCCalc.suspend,iceTan.tanHeaTra.SOCCalc.discharged,$PRE.iceTan.tanHeaTra.SOCCalc.discharged,iceTan.tanHeaTra.SOCCalc.charged,$PRE.iceTan.tanHeaTra.SOCCalc.charged,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002359/0.8956, allocations: 230.3 kB / 1.27 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.8958, allocations: 127.2 kB / 1.27 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.8985, allocations: 1.291 MB / 1.272 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00219/0.9007, allocations: 1.296 MB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.9007, allocations: 0 / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.9012, allocations: 348 kB / 1.273 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.9013, allocations: 24.03 kB / 1.273 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.9021, allocations: 107.8 kB / 1.273 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9023, allocations: 52.48 kB / 1.273 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002901/0.9052, allocations: 1.392 MB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003793/0.909, allocations: 2.154 MB / 1.277 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001068/0.9101, allocations: 0.5822 MB / 1.277 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001076/0.9111, allocations: 0.7826 MB / 1.278 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of Backend: time 4.81e-07/0.9112, allocations: 0 / 1.278 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005327/0.9165, allocations: 2.089 MB / 1.28 GB, free: 15.05 MB / 1.014 GB Notification: Performance of SimCode: time 0.005835/0.9223, allocations: 2.659 MB / 1.283 GB, free: 12.35 MB / 1.014 GB Notification: Performance of Templates: time 0.05506/0.9774, allocations: 29 MB / 1.311 GB, free: 15.46 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches