Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001572/0.001572, allocations: 110 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.001716/0.001716, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.735/2.735, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 67.89 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7283, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3): time 0.06001/0.7884, allocations: 54.55 MB / 1.28 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.8019, allocations: 9.172 MB / 1.289 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.8034, allocations: 43.75 kB / 1.289 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.805, allocations: 0.5625 MB / 1.289 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.8087, allocations: 1.399 MB / 1.291 GB, free: 11.53 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.8118, allocations: 1.249 MB / 1.292 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.8153, allocations: 2.763 MB / 1.294 GB, free: 7.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.8169, allocations: 1.1 MB / 1.296 GB, free: 6.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.8219, allocations: 2.113 MB / 1.298 GB, free: 4.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.8233, allocations: 0.8127 MB / 1.298 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.8236, allocations: 131.9 kB / 1.299 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.8274, allocations: 1.692 MB / 1.3 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.8278, allocations: 382.7 kB / 1.301 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009458/0.8287, allocations: 0.7151 MB / 1.301 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003537/0.8323, allocations: 2.436 MB / 1.304 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8323, allocations: 0 / 1.304 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8323, allocations: 0 / 1.304 GB, free: 14.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.674e-05/0.8324, allocations: 0 / 1.304 GB, free: 14.11 MB / 1.029 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.003309/0.8357, allocations: 1.868 MB / 1.305 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.8357, allocations: 8.031 kB / 1.305 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.8381, allocations: 0.5772 MB / 1.306 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.8404, allocations: 1.213 MB / 1.307 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.8406, allocations: 129.3 kB / 1.307 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.8407, allocations: 83.95 kB / 1.307 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.843, allocations: 1.184 MB / 1.309 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.843, allocations: 0 / 1.309 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.8431, allocations: 32 kB / 1.309 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.8431, allocations: 20 kB / 1.309 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.8456, allocations: 1.179 MB / 1.31 GB, free: 7.648 MB / 1.029 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.006769/0.8524, allocations: 5.125 MB / 1.315 GB, free: 2.262 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.8541, allocations: 0.8053 MB / 1.316 GB, free: 1.445 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.8552, allocations: 0.5564 MB / 1.316 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/0.8558, allocations: 0.7367 MB / 1.317 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.8572, allocations: 0.6794 MB / 1.317 GB, free: 15.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=54): time 2.364e-06/0.8572, allocations: 0 / 1.317 GB, free: 15.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=54): time 0.003525/0.8607, allocations: 1.603 MB / 1.319 GB, free: 13.67 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.8608, allocations: 111.2 kB / 1.319 GB, free: 13.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.8624, allocations: 1.134 MB / 1.32 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/0.8625, allocations: 45.7 kB / 1.32 GB, free: 12.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.863, allocations: 0.5674 MB / 1.321 GB, free: 11.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.8632, allocations: 190.5 kB / 1.321 GB, free: 11.58 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.8635, allocations: 154.2 kB / 1.321 GB, free: 11.42 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.8636, allocations: 330 kB / 1.322 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.8647, allocations: 0.4953 MB / 1.322 GB, free: 10.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.8659, allocations: 0.6541 MB / 1.323 GB, free: 9.883 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.8679, allocations: 0.9668 MB / 1.324 GB, free: 8.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8679, allocations: 0 / 1.324 GB, free: 8.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002615/0.8706, allocations: 1.236 MB / 1.325 GB, free: 7.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.8706, allocations: 7.938 kB / 1.325 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8706, allocations: 4 kB / 1.325 GB, free: 7.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.8706, allocations: 11.94 kB / 1.325 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/0.8714, allocations: 215.6 kB / 1.325 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.8715, allocations: 4.078 kB / 1.325 GB, free: 7.395 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009298/0.8724, allocations: 147.4 kB / 1.325 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.8725, allocations: 43.95 kB / 1.325 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001399/0.8739, allocations: 0.751 MB / 1.326 GB, free: 6.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001201/0.8751, allocations: 0.6483 MB / 1.327 GB, free: 5.742 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001957/0.8771, allocations: 0.9552 MB / 1.327 GB, free: 4.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.8771, allocations: 8 kB / 1.328 GB, free: 4.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002615/0.8797, allocations: 1.228 MB / 1.329 GB, free: 3.496 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.8798, allocations: 8 kB / 1.329 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.8798, allocations: 4 kB / 1.329 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.8798, allocations: 7.938 kB / 1.329 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.8806, allocations: 203.6 kB / 1.329 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.8806, allocations: 15.92 kB / 1.329 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.8815, allocations: 139.6 kB / 1.329 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.8816, allocations: 35.97 kB / 1.329 GB, free: 3.09 MB / 1.045 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.0002471/0.8819, allocations: 230.3 kB / 1.329 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.8821, allocations: 131.2 kB / 1.329 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.885, allocations: 1.299 MB / 1.331 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002267/0.8873, allocations: 1.285 MB / 1.332 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8873, allocations: 0 / 1.332 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.8878, allocations: 344 kB / 1.332 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.888, allocations: 20 kB / 1.332 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.8888, allocations: 103.8 kB / 1.332 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.889, allocations: 52.48 kB / 1.332 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003046/0.892, allocations: 1.396 MB / 1.334 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003768/0.8958, allocations: 2.15 MB / 1.336 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001113/0.8969, allocations: 0.5861 MB / 1.336 GB, free: 11.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001132/0.8981, allocations: 0.7787 MB / 1.337 GB, free: 10.6 MB / 1.061 GB Notification: Performance of Backend: time 4.71e-07/0.8981, allocations: 0 / 1.337 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005138/0.9032, allocations: 2.098 MB / 1.339 GB, free: 8.707 MB / 1.061 GB Notification: Performance of SimCode: time 0.004173/0.9074, allocations: 2.656 MB / 1.342 GB, free: 6.008 MB / 1.061 GB Notification: Performance of Templates: time 0.04538/0.9528, allocations: 29 MB / 1.37 GB, free: 9.129 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches