Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001547/0.001547, allocations: 109 kB / 16.41 MB, free: 6.516 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.001827/0.001827, allocations: 187.9 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.84 kB / 1.055 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7322, allocations: 157.4 MB / 1.209 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.224/0.9562, allocations: 242.9 MB / 1.446 GB, free: 9.797 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02453/0.9808, allocations: 17.96 MB / 1.463 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.9835, allocations: 91.5 kB / 1.463 GB, free: 7.691 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005542/0.989, allocations: 2.176 MB / 1.466 GB, free: 5.508 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008559/0.9976, allocations: 3.662 MB / 1.469 GB, free: 1.836 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006508/1.004, allocations: 2.628 MB / 1.472 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01148/1.016, allocations: 8.098 MB / 1.48 GB, free: 7.105 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/1.019, allocations: 2.053 MB / 1.482 GB, free: 5.004 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006384/1.026, allocations: 3.04 MB / 1.485 GB, free: 1.953 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/1.029, allocations: 1.702 MB / 1.486 GB, free: 256 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0007668/1.03, allocations: 228 kB / 1.486 GB, free: 28 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006939/1.037, allocations: 3.621 MB / 1.49 GB, free: 12.4 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/1.038, allocations: 0.9269 MB / 1.491 GB, free: 11.47 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002539/1.04, allocations: 1.454 MB / 1.492 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00833/1.049, allocations: 5.153 MB / 1.497 GB, free: 4.84 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.049, allocations: 3.938 kB / 1.497 GB, free: 4.836 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.024e-06/1.049, allocations: 0 / 1.497 GB, free: 4.836 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001183/1.049, allocations: 0 / 1.497 GB, free: 4.836 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 359 * Number of variables: 359 Notification: Performance of Generate backend data structure: time 0.007047/1.056, allocations: 3.363 MB / 1.501 GB, free: 1.395 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.056, allocations: 8.031 kB / 1.501 GB, free: 1.387 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005438/1.062, allocations: 0.8863 MB / 1.501 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00516/1.067, allocations: 2.913 MB / 1.504 GB, free: 13.51 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/1.067, allocations: 114.8 kB / 1.504 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/1.067, allocations: 156 kB / 1.505 GB, free: 13.25 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/1.071, allocations: 1.756 MB / 1.506 GB, free: 11.41 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/1.071, allocations: 4 kB / 1.506 GB, free: 11.41 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/1.071, allocations: 60 kB / 1.506 GB, free: 11.35 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/1.071, allocations: 50.69 kB / 1.506 GB, free: 11.3 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/1.075, allocations: 1.525 MB / 1.508 GB, free: 9.77 MB / 1.232 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.01162/1.086, allocations: 8.519 MB / 1.516 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/1.089, allocations: 1.92 MB / 1.518 GB, free: 14.52 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/1.09, allocations: 0.5386 MB / 1.519 GB, free: 13.98 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/1.091, allocations: 0.775 MB / 1.519 GB, free: 13.06 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/1.093, allocations: 0.5556 MB / 1.52 GB, free: 12.49 MB / 1.248 GB Notification: Performance of pre-optimization done (n=86): time 4.979e-06/1.093, allocations: 0 / 1.52 GB, free: 12.49 MB / 1.248 GB Notification: Performance of matching and sorting (n=86): time 0.004232/1.097, allocations: 1.679 MB / 1.522 GB, free: 10.78 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/1.097, allocations: 64.41 kB / 1.522 GB, free: 10.71 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/1.1, allocations: 2.218 MB / 1.524 GB, free: 8.469 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/1.1, allocations: 46.58 kB / 1.524 GB, free: 8.418 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009585/1.101, allocations: 1.105 MB / 1.525 GB, free: 7.297 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/1.102, allocations: 311.6 kB / 1.525 GB, free: 6.988 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004801/1.102, allocations: 327.2 kB / 1.526 GB, free: 6.66 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/1.102, allocations: 309.1 kB / 1.526 GB, free: 6.355 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/1.104, allocations: 0.6372 MB / 1.526 GB, free: 5.715 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/1.105, allocations: 1.041 MB / 1.527 GB, free: 4.516 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/1.108, allocations: 1.585 MB / 1.529 GB, free: 2.797 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1.108, allocations: 7.938 kB / 1.529 GB, free: 2.789 MB / 1.248 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003754/1.112, allocations: 1.952 MB / 1.531 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/1.112, allocations: 37.7 kB / 1.531 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.112, allocations: 12.89 kB / 1.531 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.112, allocations: 16 kB / 1.531 GB, free: 0.7461 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.113, allocations: 339.4 kB / 1.531 GB, free: 424 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/1.113, allocations: 19.94 kB / 1.531 GB, free: 404 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.115, allocations: 182.7 kB / 1.531 GB, free: 220 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/1.115, allocations: 63.92 kB / 1.532 GB, free: 156 kB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00214/1.117, allocations: 1.14 MB / 1.533 GB, free: 15 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001568/1.118, allocations: 1.045 MB / 1.534 GB, free: 13.8 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002635/1.121, allocations: 1.583 MB / 1.535 GB, free: 12.09 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.474e-06/1.121, allocations: 4 kB / 1.535 GB, free: 12.09 MB / 1.264 GB Notification: Performance of matching and sorting (n=204) (initialization_lambda0): time 0.00375/1.125, allocations: 1.947 MB / 1.537 GB, free: 10.12 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/1.125, allocations: 45.69 kB / 1.537 GB, free: 10.07 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/1.125, allocations: 8 kB / 1.537 GB, free: 10.06 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.125, allocations: 16 kB / 1.537 GB, free: 10.05 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.126, allocations: 328 kB / 1.538 GB, free: 9.727 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/1.126, allocations: 27.86 kB / 1.538 GB, free: 9.699 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.128, allocations: 175.4 kB / 1.538 GB, free: 9.531 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.128, allocations: 60 kB / 1.538 GB, free: 9.473 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (170): * Single equations (assignments): 167 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003193/1.128, allocations: 259.9 kB / 1.538 GB, free: 9.211 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000536/1.129, allocations: 225.1 kB / 1.538 GB, free: 8.988 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/1.132, allocations: 1.221 MB / 1.539 GB, free: 7.75 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002269/1.134, allocations: 1.262 MB / 1.541 GB, free: 6.402 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.134, allocations: 0 / 1.541 GB, free: 6.402 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/1.135, allocations: 414 kB / 1.541 GB, free: 5.977 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/1.135, allocations: 27.92 kB / 1.541 GB, free: 5.949 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.137, allocations: 70.56 kB / 1.541 GB, free: 5.883 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.137, allocations: 60.91 kB / 1.541 GB, free: 5.824 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003125/1.14, allocations: 1.232 MB / 1.542 GB, free: 4.582 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003542/1.143, allocations: 1.886 MB / 1.544 GB, free: 2.68 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009969/1.144, allocations: 0.4919 MB / 1.545 GB, free: 2.188 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002219/1.147, allocations: 1.478 MB / 1.546 GB, free: 0.6992 MB / 1.264 GB Notification: Performance of Backend: time 5.62e-07/1.147, allocations: 0 / 1.546 GB, free: 0.6992 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007218/1.154, allocations: 3.197 MB / 1.549 GB, free: 13.65 MB / 1.279 GB Notification: Performance of SimCode: time 0.008772/1.163, allocations: 5.24 MB / 1.554 GB, free: 8.379 MB / 1.279 GB Notification: Performance of Templates: time 0.611/1.774, allocations: 53.53 MB / 1.607 GB, free: 320.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches