Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|eleHea.Q_flow|eleHea.P",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|eleHea.Q_flow|eleHea.P",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 116.8 kB / 16.42 MB, free: 6.504 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.001874/0.001875, allocations: 183.9 kB / 17.35 MB, free: 5.754 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.291/1.291, 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 9.1.3-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 390.3 MB / 0.6655 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.674, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.239/0.913, allocations: 242.5 MB / 1.326 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.9345, allocations: 16.16 MB / 1.341 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002486/0.937, allocations: 95.44 kB / 1.341 GB, free: 10.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003444/0.9404, allocations: 1.401 MB / 1.343 GB, free: 9.285 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008088/0.9485, allocations: 3.629 MB / 1.346 GB, free: 5.645 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005627/0.9542, allocations: 2.566 MB / 1.349 GB, free: 3.086 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006307/0.9605, allocations: 5.21 MB / 1.354 GB, free: 13.87 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.9633, allocations: 2.025 MB / 1.356 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005607/0.9689, allocations: 3.087 MB / 1.359 GB, free: 8.695 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.9718, allocations: 1.63 MB / 1.361 GB, free: 7.066 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.9723, allocations: 216 kB / 1.361 GB, free: 6.855 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006031/0.9784, allocations: 3.458 MB / 1.364 GB, free: 3.391 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009665/0.9794, allocations: 0.7789 MB / 1.365 GB, free: 2.609 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.9812, allocations: 1.267 MB / 1.366 GB, free: 1.336 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008045/0.9893, allocations: 4.553 MB / 1.371 GB, free: 12.77 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.9893, allocations: 0 / 1.371 GB, free: 12.77 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9893, allocations: 0 / 1.371 GB, free: 12.77 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001169/0.9894, allocations: 0 / 1.371 GB, free: 12.77 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.006146/0.9956, allocations: 2.936 MB / 1.373 GB, free: 9.766 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.9956, allocations: 12.03 kB / 1.373 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005541/1.001, allocations: 0.8672 MB / 1.374 GB, free: 8.883 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/1.005, allocations: 1.883 MB / 1.376 GB, free: 6.949 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.005, allocations: 114.7 kB / 1.376 GB, free: 6.836 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/1.005, allocations: 148 kB / 1.376 GB, free: 6.691 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/1.009, allocations: 1.763 MB / 1.378 GB, free: 4.855 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/1.009, allocations: 7.938 kB / 1.378 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/1.009, allocations: 59.94 kB / 1.378 GB, free: 4.789 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/1.009, allocations: 54.67 kB / 1.378 GB, free: 4.734 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/1.013, allocations: 1.541 MB / 1.38 GB, free: 3.188 MB / 1.107 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.01126/1.024, allocations: 8.17 MB / 1.388 GB, free: 10.41 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/1.027, allocations: 1.971 MB / 1.39 GB, free: 8.234 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.028, allocations: 0.5542 MB / 1.39 GB, free: 7.676 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/1.03, allocations: 0.7828 MB / 1.391 GB, free: 6.742 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/1.031, allocations: 0.5872 MB / 1.391 GB, free: 6.145 MB / 1.123 GB Notification: Performance of pre-optimization done (n=87): time 3.036e-06/1.031, allocations: 0 / 1.391 GB, free: 6.145 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.004236/1.035, allocations: 1.706 MB / 1.393 GB, free: 4.414 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.035, allocations: 60.41 kB / 1.393 GB, free: 4.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/1.037, allocations: 1.634 MB / 1.395 GB, free: 2.66 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.037, allocations: 49.7 kB / 1.395 GB, free: 2.605 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/1.038, allocations: 0.9596 MB / 1.396 GB, free: 1.637 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/1.038, allocations: 315.5 kB / 1.396 GB, free: 1.324 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/1.039, allocations: 218.8 kB / 1.396 GB, free: 1.105 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.039, allocations: 349.9 kB / 1.397 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.04, allocations: 489.8 kB / 1.397 GB, free: 284 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/1.041, allocations: 0.8201 MB / 1.398 GB, free: 15.31 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/1.044, allocations: 1.283 MB / 1.399 GB, free: 13.9 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.044, allocations: 4 kB / 1.399 GB, free: 13.9 MB / 1.139 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003118/1.047, allocations: 1.52 MB / 1.401 GB, free: 12.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.047, allocations: 37.64 kB / 1.401 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.047, allocations: 12 kB / 1.401 GB, free: 12.31 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.047, allocations: 12 kB / 1.401 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.048, allocations: 288.1 kB / 1.401 GB, free: 12.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/1.048, allocations: 19.92 kB / 1.401 GB, free: 12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.05, allocations: 151.6 kB / 1.401 GB, free: 11.85 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/1.05, allocations: 51.98 kB / 1.401 GB, free: 11.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001655/1.051, allocations: 0.8656 MB / 1.402 GB, free: 10.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/1.053, allocations: 0.7967 MB / 1.403 GB, free: 9.984 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00235/1.055, allocations: 1.26 MB / 1.404 GB, free: 8.598 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.059e-06/1.055, allocations: 0 / 1.404 GB, free: 8.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003025/1.058, allocations: 1.485 MB / 1.405 GB, free: 7.098 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/1.058, allocations: 43.67 kB / 1.406 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.058, allocations: 12.06 kB / 1.406 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.058, allocations: 19.98 kB / 1.406 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.059, allocations: 283.7 kB / 1.406 GB, free: 6.742 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/1.059, allocations: 23.92 kB / 1.406 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.061, allocations: 127.8 kB / 1.406 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/1.061, allocations: 59.92 kB / 1.406 GB, free: 6.535 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (uHea.y,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 134 * Array equations: 1 * Algorithm blocks: 1 * 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.0002736/1.061, allocations: 255.9 kB / 1.406 GB, free: 6.277 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/1.061, allocations: 193.6 kB / 1.406 GB, free: 6.086 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/1.064, allocations: 1.252 MB / 1.408 GB, free: 4.82 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002409/1.067, allocations: 1.305 MB / 1.409 GB, free: 3.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.067, allocations: 0 / 1.409 GB, free: 3.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/1.067, allocations: 358.4 kB / 1.409 GB, free: 3.059 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/1.068, allocations: 23.98 kB / 1.409 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.069, allocations: 71.88 kB / 1.409 GB, free: 2.965 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/1.069, allocations: 64.91 kB / 1.409 GB, free: 2.898 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003375/1.072, allocations: 1.283 MB / 1.411 GB, free: 1.605 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003733/1.076, allocations: 1.903 MB / 1.413 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001085/1.077, allocations: 0.5152 MB / 1.413 GB, free: 15.17 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001586/1.079, allocations: 1.094 MB / 1.414 GB, free: 14.05 MB / 1.154 GB Notification: Performance of Backend: time 6.32e-07/1.079, allocations: 0 / 1.414 GB, free: 14.05 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006566/1.085, allocations: 2.592 MB / 1.417 GB, free: 11.61 MB / 1.154 GB Notification: Performance of SimCode: time 0.007861/1.093, allocations: 4.445 MB / 1.421 GB, free: 7.117 MB / 1.154 GB Notification: Performance of Templates: time 0.06672/1.16, allocations: 44.64 MB / 1.465 GB, free: 10.97 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches