Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001557/0.001557, allocations: 113 kB / 16.42 MB, free: 6.441 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.001754/0.001754, allocations: 192 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.83 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7013, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2): time 0.05471/0.756, allocations: 54.54 MB / 1.262 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.7689, allocations: 9.171 MB / 1.271 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.7702, allocations: 43.75 kB / 1.271 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.7716, allocations: 0.5432 MB / 1.271 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.7746, allocations: 1.329 MB / 1.273 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.7774, allocations: 1.249 MB / 1.274 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.7807, allocations: 2.763 MB / 1.276 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.782, allocations: 1.1 MB / 1.278 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.7865, allocations: 2.116 MB / 1.28 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009644/0.7875, allocations: 0.8204 MB / 1.28 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.7877, allocations: 132 kB / 1.281 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.7909, allocations: 1.684 MB / 1.282 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.7912, allocations: 374.8 kB / 1.283 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.7918, allocations: 0.719 MB / 1.283 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.7945, allocations: 2.422 MB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7945, allocations: 0 / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7945, allocations: 4 kB / 1.286 GB, free: 14.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.7945, allocations: 0 / 1.286 GB, free: 14.34 MB / 1.014 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.002642/0.7972, allocations: 1.811 MB / 1.287 GB, free: 12.48 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.7972, allocations: 12.02 kB / 1.287 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.7995, allocations: 0.5686 MB / 1.288 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.8013, allocations: 1.216 MB / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.8015, allocations: 121.4 kB / 1.289 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.8016, allocations: 80 kB / 1.289 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.8037, allocations: 1.188 MB / 1.29 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.8037, allocations: 0 / 1.29 GB, free: 9.184 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/0.8038, allocations: 35.98 kB / 1.291 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.8039, allocations: 23.94 kB / 1.291 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.8061, allocations: 1.171 MB / 1.292 GB, free: 7.957 MB / 1.014 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.005953/0.8121, allocations: 5.112 MB / 1.297 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8137, allocations: 0.8104 MB / 1.297 GB, free: 1.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.8148, allocations: 0.5525 MB / 1.298 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.8153, allocations: 0.7445 MB / 1.299 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.8166, allocations: 0.6755 MB / 1.299 GB, free: 15.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.8166, allocations: 11.94 kB / 1.299 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.003225/0.8198, allocations: 1.587 MB / 1.301 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.8199, allocations: 115.2 kB / 1.301 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.8213, allocations: 1.13 MB / 1.302 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.397e-05/0.8214, allocations: 49.69 kB / 1.302 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.8218, allocations: 0.5627 MB / 1.303 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.8219, allocations: 173.5 kB / 1.303 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.8222, allocations: 154.2 kB / 1.303 GB, free: 11.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8223, allocations: 330 kB / 1.303 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.8233, allocations: 0.4992 MB / 1.304 GB, free: 10.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.8245, allocations: 0.6522 MB / 1.305 GB, free: 10.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.8264, allocations: 0.9708 MB / 1.305 GB, free: 9.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.8265, allocations: 4 kB / 1.305 GB, free: 9.203 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002429/0.8289, allocations: 1.224 MB / 1.307 GB, free: 7.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8289, allocations: 5.875 kB / 1.307 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.8289, allocations: 8 kB / 1.307 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.829, allocations: 15.92 kB / 1.307 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.8297, allocations: 199.6 kB / 1.307 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.8298, allocations: 11.98 kB / 1.307 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.8306, allocations: 143.3 kB / 1.307 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/0.8307, allocations: 35.98 kB / 1.307 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001308/0.832, allocations: 0.751 MB / 1.308 GB, free: 6.801 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001095/0.8331, allocations: 0.6444 MB / 1.308 GB, free: 6.102 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001861/0.835, allocations: 0.9708 MB / 1.309 GB, free: 5.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.835, allocations: 0 / 1.309 GB, free: 5.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002397/0.8374, allocations: 1.216 MB / 1.311 GB, free: 3.863 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.8374, allocations: 12.12 kB / 1.311 GB, free: 3.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.8375, allocations: 4 kB / 1.311 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8375, allocations: 4 kB / 1.311 GB, free: 3.844 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007469/0.8382, allocations: 211.6 kB / 1.311 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8383, allocations: 12.09 kB / 1.311 GB, free: 3.625 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/0.8391, allocations: 139.5 kB / 1.311 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.8392, allocations: 39.95 kB / 1.311 GB, free: 3.449 MB / 1.029 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.000226/0.8394, allocations: 226.4 kB / 1.311 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.8396, allocations: 114.5 kB / 1.311 GB, free: 3.109 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.8423, allocations: 1.302 MB / 1.313 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/0.8444, allocations: 1.289 MB / 1.314 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.8444, allocations: 0 / 1.314 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.8449, allocations: 327.4 kB / 1.314 GB, free: 100 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.845, allocations: 28 kB / 1.314 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007829/0.8458, allocations: 107.8 kB / 1.314 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.846, allocations: 56.48 kB / 1.314 GB, free: 15.91 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002843/0.8488, allocations: 1.396 MB / 1.316 GB, free: 14.51 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003701/0.8525, allocations: 2.146 MB / 1.318 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001047/0.8536, allocations: 0.5822 MB / 1.318 GB, free: 11.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001032/0.8546, allocations: 0.7865 MB / 1.319 GB, free: 10.97 MB / 1.045 GB Notification: Performance of Backend: time 8.32e-07/0.8546, allocations: 0 / 1.319 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005061/0.8597, allocations: 2.083 MB / 1.321 GB, free: 9.098 MB / 1.045 GB Notification: Performance of SimCode: time 0.003675/0.8634, allocations: 2.619 MB / 1.324 GB, free: 6.434 MB / 1.045 GB Notification: Performance of Templates: time 0.04221/0.9056, allocations: 28.99 MB / 1.352 GB, free: 9.574 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches