Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.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.Discharging1,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.Discharging1") translateModel(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1,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.Discharging1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, 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.001931/0.001931, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.331/1.331, 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.678/2.678, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.91 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6941, allocations: 159.1 MB / 1.221 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1): time 0.05507/0.7493, allocations: 54.54 MB / 1.274 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.7619, allocations: 9.164 MB / 1.283 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.7636, allocations: 47.75 kB / 1.283 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.7653, allocations: 0.551 MB / 1.284 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003696/0.769, allocations: 1.395 MB / 1.285 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.7722, allocations: 1.249 MB / 1.286 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.7756, allocations: 2.779 MB / 1.289 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.7771, allocations: 1.1 MB / 1.29 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.782, allocations: 2.12 MB / 1.292 GB, free: 9.324 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00131/0.7833, allocations: 0.8228 MB / 1.293 GB, free: 8.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.7836, allocations: 128 kB / 1.293 GB, free: 8.375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.787, allocations: 1.684 MB / 1.295 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.7875, allocations: 374.8 kB / 1.295 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008928/0.7884, allocations: 0.7151 MB / 1.296 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.7916, allocations: 2.43 MB / 1.298 GB, free: 3.164 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7916, allocations: 4 kB / 1.298 GB, free: 3.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7916, allocations: 0 / 1.298 GB, free: 3.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.591e-05/0.7917, allocations: 0 / 1.298 GB, free: 3.16 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.00339/0.7951, allocations: 1.803 MB / 1.3 GB, free: 1.297 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7951, allocations: 12.62 kB / 1.3 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.7975, allocations: 0.5647 MB / 1.3 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.7997, allocations: 1.216 MB / 1.302 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.7999, allocations: 125.4 kB / 1.302 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.8, allocations: 84 kB / 1.302 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.8022, allocations: 1.18 MB / 1.303 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.8023, allocations: 4 kB / 1.303 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/0.8024, allocations: 35.98 kB / 1.303 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.8024, allocations: 20 kB / 1.303 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.8048, allocations: 1.171 MB / 1.304 GB, free: 12.78 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.006243/0.811, allocations: 5.129 MB / 1.309 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.8127, allocations: 0.8131 MB / 1.31 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.8138, allocations: 0.5486 MB / 1.311 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005645/0.8144, allocations: 0.7445 MB / 1.311 GB, free: 5.105 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/0.8157, allocations: 0.6755 MB / 1.312 GB, free: 4.414 MB / 1.029 GB Notification: Performance of pre-optimization done (n=54): time 2.565e-06/0.8158, allocations: 0 / 1.312 GB, free: 4.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=54): time 0.003628/0.8194, allocations: 1.587 MB / 1.314 GB, free: 2.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.8195, allocations: 123.2 kB / 1.314 GB, free: 2.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.8213, allocations: 1.13 MB / 1.315 GB, free: 1.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.8214, allocations: 45.64 kB / 1.315 GB, free: 1.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.8219, allocations: 0.5666 MB / 1.315 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/0.8221, allocations: 177.5 kB / 1.315 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.8223, allocations: 150.2 kB / 1.316 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8225, allocations: 330 kB / 1.316 GB, free: 256 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.8235, allocations: 0.4992 MB / 1.316 GB, free: 15.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.8247, allocations: 0.6523 MB / 1.317 GB, free: 15.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.8267, allocations: 0.9669 MB / 1.318 GB, free: 14.02 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8267, allocations: 0 / 1.318 GB, free: 14.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002695/0.8294, allocations: 1.232 MB / 1.319 GB, free: 12.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.8295, allocations: 12.06 kB / 1.319 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8295, allocations: 4 kB / 1.319 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.8295, allocations: 7.938 kB / 1.319 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.8303, allocations: 203.6 kB / 1.319 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.8303, allocations: 15.92 kB / 1.319 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/0.8313, allocations: 139.3 kB / 1.32 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.8314, allocations: 39.97 kB / 1.32 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001385/0.8328, allocations: 0.7497 MB / 1.32 GB, free: 11.62 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001149/0.8339, allocations: 0.6444 MB / 1.321 GB, free: 10.92 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002049/0.836, allocations: 0.9669 MB / 1.322 GB, free: 9.906 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.836, allocations: 0 / 1.322 GB, free: 9.906 MB / 1.045 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002605/0.8386, allocations: 1.232 MB / 1.323 GB, free: 8.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.8387, allocations: 8 kB / 1.323 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8387, allocations: 0 / 1.323 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.8387, allocations: 8 kB / 1.323 GB, free: 8.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.8395, allocations: 207.6 kB / 1.323 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.8395, allocations: 15.94 kB / 1.323 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.8404, allocations: 131.5 kB / 1.323 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.8405, allocations: 39.97 kB / 1.324 GB, free: 8.266 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.0002337/0.8407, allocations: 230.3 kB / 1.324 GB, free: 8.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.8409, allocations: 122.5 kB / 1.324 GB, free: 7.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.8437, allocations: 1.298 MB / 1.325 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002182/0.8459, allocations: 1.296 MB / 1.326 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.846, allocations: 0 / 1.326 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/0.8465, allocations: 327.4 kB / 1.327 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.8467, allocations: 20 kB / 1.327 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.8475, allocations: 107.8 kB / 1.327 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.8476, allocations: 52.48 kB / 1.327 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003058/0.8507, allocations: 1.392 MB / 1.328 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00394/0.8547, allocations: 2.15 MB / 1.33 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001147/0.8558, allocations: 0.5822 MB / 1.331 GB, free: 0.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001304/0.8571, allocations: 0.7865 MB / 1.332 GB, free: 15.79 MB / 1.061 GB Notification: Performance of Backend: time 6.92e-07/0.8572, allocations: 3.938 kB / 1.332 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00591/0.8631, allocations: 2.084 MB / 1.334 GB, free: 13.91 MB / 1.061 GB Notification: Performance of SimCode: time 0.004707/0.8678, allocations: 2.615 MB / 1.336 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Templates: time 0.04462/0.9124, allocations: 29 MB / 1.365 GB, free: 14.38 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_Validation_ExperimentNIST_Discharging1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.Validation.ExperimentNIST.Discharging1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches