Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.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.Charging,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.Charging") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging,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.Charging") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.001862/0.001862, allocations: 192.3 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.84 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7335, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging): time 0.1043/0.8379, allocations: 54.54 MB / 1.262 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.8522, allocations: 9.177 MB / 1.271 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.8547, allocations: 43.75 kB / 1.271 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.8567, allocations: 0.5432 MB / 1.271 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.8606, allocations: 1.336 MB / 1.273 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.8641, allocations: 1.223 MB / 1.274 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.8679, allocations: 2.782 MB / 1.276 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.8696, allocations: 1.1 MB / 1.278 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.8744, allocations: 2.108 MB / 1.28 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.8757, allocations: 0.8166 MB / 1.28 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.876, allocations: 135.9 kB / 1.281 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.8795, allocations: 1.681 MB / 1.282 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.8799, allocations: 378.7 kB / 1.283 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009352/0.8809, allocations: 0.7151 MB / 1.283 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.8844, allocations: 2.43 MB / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8844, allocations: 0 / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8844, allocations: 0 / 1.286 GB, free: 14.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.016e-05/0.8845, allocations: 0 / 1.286 GB, free: 14.32 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.003495/0.888, allocations: 1.813 MB / 1.287 GB, free: 12.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.888, allocations: 8.031 kB / 1.287 GB, free: 12.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.8905, allocations: 0.5686 MB / 1.288 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.8929, allocations: 1.214 MB / 1.289 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.893, allocations: 129.4 kB / 1.289 GB, free: 10.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.8932, allocations: 84 kB / 1.289 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.8956, allocations: 1.184 MB / 1.29 GB, free: 9.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.8956, allocations: 0 / 1.29 GB, free: 9.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.8957, allocations: 32 kB / 1.291 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.8958, allocations: 24 kB / 1.291 GB, free: 9.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.8982, allocations: 1.175 MB / 1.292 GB, free: 7.934 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.006893/0.9051, allocations: 5.124 MB / 1.297 GB, free: 2.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.9068, allocations: 0.8016 MB / 1.297 GB, free: 1.734 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.9079, allocations: 0.5564 MB / 1.298 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.9085, allocations: 0.7445 MB / 1.299 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.9098, allocations: 0.6713 MB / 1.299 GB, free: 15.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=54): time 2.675e-06/0.9099, allocations: 0 / 1.299 GB, free: 15.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.003503/0.9134, allocations: 1.595 MB / 1.301 GB, free: 13.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.9134, allocations: 111.2 kB / 1.301 GB, free: 13.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.9152, allocations: 1.134 MB / 1.302 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.9153, allocations: 45.7 kB / 1.302 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/0.9159, allocations: 0.5704 MB / 1.303 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.9161, allocations: 177.5 kB / 1.303 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.9163, allocations: 150.2 kB / 1.303 GB, free: 11.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9165, allocations: 330 kB / 1.303 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.9175, allocations: 0.4992 MB / 1.304 GB, free: 10.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.9187, allocations: 0.6445 MB / 1.305 GB, free: 10.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/0.9207, allocations: 0.9708 MB / 1.305 GB, free: 9.188 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.9207, allocations: 4 kB / 1.305 GB, free: 9.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002766/0.9235, allocations: 1.232 MB / 1.307 GB, free: 7.941 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9235, allocations: 4 kB / 1.307 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9235, allocations: 4 kB / 1.307 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.9235, allocations: 11.94 kB / 1.307 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.9244, allocations: 207.6 kB / 1.307 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.9244, allocations: 11.94 kB / 1.307 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.9254, allocations: 139.3 kB / 1.307 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.9255, allocations: 39.97 kB / 1.307 GB, free: 7.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00149/0.927, allocations: 0.7471 MB / 1.308 GB, free: 6.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/0.9282, allocations: 0.6445 MB / 1.308 GB, free: 6.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001972/0.9302, allocations: 0.963 MB / 1.309 GB, free: 5.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-06/0.9302, allocations: 7.984 kB / 1.309 GB, free: 5.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002675/0.9329, allocations: 1.22 MB / 1.311 GB, free: 3.836 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9329, allocations: 8 kB / 1.311 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.9329, allocations: 4 kB / 1.311 GB, free: 3.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.9329, allocations: 7.938 kB / 1.311 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.9337, allocations: 207.6 kB / 1.311 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.9338, allocations: 11.88 kB / 1.311 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.9348, allocations: 147.4 kB / 1.311 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/0.9349, allocations: 31.97 kB / 1.311 GB, free: 3.426 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.0003213/0.9353, allocations: 226.4 kB / 1.311 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.9357, allocations: 114.6 kB / 1.311 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.9386, allocations: 1.307 MB / 1.313 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/0.9409, allocations: 1.288 MB / 1.314 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.9409, allocations: 0 / 1.314 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006311/0.9415, allocations: 335.4 kB / 1.314 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/0.9418, allocations: 20 kB / 1.314 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.9427, allocations: 107.8 kB / 1.314 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.9429, allocations: 56.48 kB / 1.314 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002975/0.9458, allocations: 1.4 MB / 1.316 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00373/0.9496, allocations: 2.138 MB / 1.318 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001099/0.9507, allocations: 0.59 MB / 1.318 GB, free: 11.73 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001217/0.9519, allocations: 0.7787 MB / 1.319 GB, free: 10.95 MB / 1.045 GB Notification: Performance of Backend: time 6.11e-07/0.9519, allocations: 0 / 1.319 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005357/0.9573, allocations: 2.084 MB / 1.321 GB, free: 9.066 MB / 1.045 GB Notification: Performance of SimCode: time 0.004574/0.9619, allocations: 2.617 MB / 1.324 GB, free: 6.406 MB / 1.045 GB Notification: Performance of Templates: time 0.09116/1.053, allocations: 28.98 MB / 1.352 GB, free: 9.551 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Charging.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Charging.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches