Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.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.Discharging3,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.Discharging3") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3,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.Discharging3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001838/0.001839, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.399/2.399, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 75.83 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7165, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3): time 0.05755/0.7741, allocations: 54.54 MB / 1.221 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.7877, allocations: 9.17 MB / 1.23 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0017/0.7894, allocations: 43.75 kB / 1.23 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.7912, allocations: 0.5625 MB / 1.23 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.7951, allocations: 1.4 MB / 1.232 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.7983, allocations: 1.241 MB / 1.233 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003807/0.8021, allocations: 2.773 MB / 1.235 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.8037, allocations: 1.1 MB / 1.237 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.8083, allocations: 2.12 MB / 1.239 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.8096, allocations: 0.8149 MB / 1.239 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.8099, allocations: 128 kB / 1.24 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.8135, allocations: 1.686 MB / 1.241 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004521/0.8139, allocations: 378.8 kB / 1.242 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009892/0.8149, allocations: 0.719 MB / 1.242 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.8186, allocations: 2.444 MB / 1.245 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8187, allocations: 0 / 1.245 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8187, allocations: 0 / 1.245 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-05/0.8187, allocations: 0 / 1.245 GB, free: 4.484 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.003475/0.8222, allocations: 1.868 MB / 1.246 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8223, allocations: 12.88 kB / 1.246 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.8246, allocations: 0.5734 MB / 1.247 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.8268, allocations: 1.213 MB / 1.248 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.8269, allocations: 129.3 kB / 1.248 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.8271, allocations: 80 kB / 1.248 GB, free: 492 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.8293, allocations: 1.188 MB / 1.25 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.8294, allocations: 7.938 kB / 1.25 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.8295, allocations: 39.84 kB / 1.25 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.8295, allocations: 20 kB / 1.25 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.8319, allocations: 1.171 MB / 1.251 GB, free: 14.02 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.007021/0.8389, allocations: 5.117 MB / 1.256 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.8406, allocations: 0.8135 MB / 1.257 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.8417, allocations: 0.5501 MB / 1.257 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.8423, allocations: 0.7445 MB / 1.258 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.8435, allocations: 0.6796 MB / 1.258 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=54): time 2.294e-06/0.8435, allocations: 0 / 1.258 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54): time 0.003466/0.847, allocations: 1.595 MB / 1.26 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.8471, allocations: 115.2 kB / 1.26 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.8487, allocations: 1.134 MB / 1.261 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/0.8487, allocations: 49.69 kB / 1.261 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/0.8493, allocations: 0.5713 MB / 1.262 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.8495, allocations: 182.5 kB / 1.262 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.8497, allocations: 154.2 kB / 1.262 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8499, allocations: 330 kB / 1.262 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.851, allocations: 0.4992 MB / 1.263 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.8521, allocations: 0.6522 MB / 1.264 GB, free: 260 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.8541, allocations: 0.963 MB / 1.265 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.8541, allocations: 0 / 1.265 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002641/0.8568, allocations: 1.236 MB / 1.266 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.8568, allocations: 11.98 kB / 1.266 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8568, allocations: 4 kB / 1.266 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.8569, allocations: 7.938 kB / 1.266 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.8577, allocations: 207.6 kB / 1.266 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.8577, allocations: 7.984 kB / 1.266 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/0.8586, allocations: 151.4 kB / 1.266 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.8587, allocations: 39.97 kB / 1.266 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001412/0.8602, allocations: 0.7432 MB / 1.267 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001172/0.8614, allocations: 0.6524 MB / 1.268 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001964/0.8633, allocations: 0.963 MB / 1.268 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.491e-06/0.8633, allocations: 7.984 kB / 1.268 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002641/0.866, allocations: 1.225 MB / 1.27 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.866, allocations: 8 kB / 1.27 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.866, allocations: 7.938 kB / 1.27 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.866, allocations: 4 kB / 1.27 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.8668, allocations: 207.6 kB / 1.27 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.8669, allocations: 11.94 kB / 1.27 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/0.8678, allocations: 135.6 kB / 1.27 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.8679, allocations: 35.97 kB / 1.27 GB, free: 9.477 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.0002542/0.8682, allocations: 234.3 kB / 1.27 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.8685, allocations: 127.2 kB / 1.27 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.8714, allocations: 1.287 MB / 1.272 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002317/0.8737, allocations: 1.292 MB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8737, allocations: 3.938 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.8743, allocations: 340 kB / 1.273 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.8745, allocations: 20 kB / 1.273 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/0.8753, allocations: 111.8 kB / 1.273 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8755, allocations: 56.48 kB / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003036/0.8785, allocations: 1.384 MB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003778/0.8823, allocations: 2.158 MB / 1.277 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001112/0.8834, allocations: 0.5822 MB / 1.277 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001172/0.8846, allocations: 0.7865 MB / 1.278 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of Backend: time 4.41e-07/0.8846, allocations: 0 / 1.278 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005209/0.8898, allocations: 2.093 MB / 1.28 GB, free: 15.06 MB / 1.014 GB Notification: Performance of SimCode: time 0.004218/0.8941, allocations: 2.64 MB / 1.283 GB, free: 12.38 MB / 1.014 GB Notification: Performance of Templates: time 0.04557/0.9397, allocations: 29.01 MB / 1.311 GB, free: 15.47 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.sim & ./Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches