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 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.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.001594/0.001594, allocations: 108 kB / 16.42 MB, free: 5.953 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.001708/0.001708, allocations: 192.7 kB / 17.35 MB, free: 5.574 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.363/1.363, 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 12.0.0-master/package.mo): time 2.597/2.597, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 1.07 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7435, allocations: 159.9 MB / 1.226 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.2384/0.9819, allocations: 242.9 MB / 1.464 GB, free: 9.801 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02536/1.007, allocations: 17.95 MB / 1.481 GB, free: 7.801 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003336/1.011, allocations: 95.44 kB / 1.481 GB, free: 7.707 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005515/1.016, allocations: 2.197 MB / 1.483 GB, free: 5.508 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00867/1.025, allocations: 3.808 MB / 1.487 GB, free: 1.688 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005901/1.031, allocations: 2.641 MB / 1.49 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01112/1.042, allocations: 8.114 MB / 1.498 GB, free: 6.922 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/1.045, allocations: 2.065 MB / 1.5 GB, free: 4.809 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007039/1.052, allocations: 3.094 MB / 1.503 GB, free: 1.703 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003577/1.056, allocations: 1.701 MB / 1.504 GB, free: 0 / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008938/1.057, allocations: 224 kB / 1.505 GB, free: 15.78 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007929/1.065, allocations: 3.637 MB / 1.508 GB, free: 12.14 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002004/1.067, allocations: 0.9191 MB / 1.509 GB, free: 11.21 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003773/1.071, allocations: 1.454 MB / 1.51 GB, free: 9.754 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.081, allocations: 5.17 MB / 1.516 GB, free: 4.566 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.081, allocations: 4 kB / 1.516 GB, free: 4.562 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.563e-06/1.081, allocations: 3.938 kB / 1.516 GB, free: 4.559 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001266/1.081, allocations: 0 / 1.516 GB, free: 4.559 MB / 1.232 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.007269/1.088, allocations: 3.468 MB / 1.519 GB, free: 1.008 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.088, allocations: 11.97 kB / 1.519 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005692/1.094, allocations: 0.9112 MB / 1.52 GB, free: 84 kB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005496/1.1, allocations: 2.923 MB / 1.523 GB, free: 13.09 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.1, allocations: 118.8 kB / 1.523 GB, free: 12.97 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/1.1, allocations: 152 kB / 1.523 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/1.104, allocations: 1.756 MB / 1.525 GB, free: 10.99 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/1.104, allocations: 3.984 kB / 1.525 GB, free: 10.99 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.104, allocations: 63.98 kB / 1.525 GB, free: 10.93 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/1.104, allocations: 58.67 kB / 1.525 GB, free: 10.87 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/1.108, allocations: 1.521 MB / 1.526 GB, free: 9.34 MB / 1.248 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.0129/1.121, allocations: 8.521 MB / 1.535 GB, free: 216 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/1.124, allocations: 1.921 MB / 1.536 GB, free: 14.08 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/1.125, allocations: 0.533 MB / 1.537 GB, free: 13.55 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.126, allocations: 0.775 MB / 1.538 GB, free: 12.63 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/1.128, allocations: 0.5634 MB / 1.538 GB, free: 12.05 MB / 1.264 GB Notification: Performance of pre-optimization done (n=86): time 4.619e-06/1.128, allocations: 0 / 1.538 GB, free: 12.05 MB / 1.264 GB Notification: Performance of matching and sorting (n=86): time 0.004512/1.132, allocations: 1.684 MB / 1.54 GB, free: 10.34 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/1.132, allocations: 64.34 kB / 1.54 GB, free: 10.27 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/1.136, allocations: 2.222 MB / 1.542 GB, free: 8.023 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/1.136, allocations: 45.7 kB / 1.542 GB, free: 7.973 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009815/1.137, allocations: 1.128 MB / 1.543 GB, free: 6.832 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/1.137, allocations: 325.2 kB / 1.544 GB, free: 6.512 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004938/1.138, allocations: 331.4 kB / 1.544 GB, free: 6.184 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/1.138, allocations: 305.1 kB / 1.544 GB, free: 5.883 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.139, allocations: 0.6372 MB / 1.545 GB, free: 5.242 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/1.141, allocations: 1.037 MB / 1.546 GB, free: 4.043 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/1.144, allocations: 1.581 MB / 1.547 GB, free: 2.328 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/1.144, allocations: 4 kB / 1.547 GB, free: 2.324 MB / 1.264 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.003737/1.147, allocations: 1.981 MB / 1.549 GB, free: 336 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/1.147, allocations: 33.7 kB / 1.549 GB, free: 296 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/1.147, allocations: 16.06 kB / 1.549 GB, free: 280 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/1.148, allocations: 16 kB / 1.549 GB, free: 264 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.149, allocations: 327.4 kB / 1.55 GB, free: 15.94 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.099e-05/1.149, allocations: 31.91 kB / 1.55 GB, free: 15.91 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.151, allocations: 187 kB / 1.55 GB, free: 15.72 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.151, allocations: 63.98 kB / 1.55 GB, free: 15.66 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002118/1.153, allocations: 1.136 MB / 1.551 GB, free: 14.52 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001543/1.154, allocations: 1.045 MB / 1.552 GB, free: 13.32 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002624/1.157, allocations: 1.583 MB / 1.554 GB, free: 11.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.426e-06/1.157, allocations: 4.188 kB / 1.554 GB, free: 11.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=204) (initialization_lambda0): time 0.00371/1.161, allocations: 1.964 MB / 1.556 GB, free: 9.617 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/1.161, allocations: 37.64 kB / 1.556 GB, free: 9.574 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.161, allocations: 12 kB / 1.556 GB, free: 9.562 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.161, allocations: 16 kB / 1.556 GB, free: 9.547 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.162, allocations: 332.2 kB / 1.556 GB, free: 9.223 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/1.162, allocations: 23.88 kB / 1.556 GB, free: 9.199 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.164, allocations: 171.2 kB / 1.556 GB, free: 9.031 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.164, allocations: 59.98 kB / 1.556 GB, free: 8.973 MB / 1.279 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.0003232/1.164, allocations: 259.9 kB / 1.556 GB, free: 8.711 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/1.165, allocations: 234.5 kB / 1.557 GB, free: 8.48 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/1.168, allocations: 1.224 MB / 1.558 GB, free: 7.238 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002295/1.17, allocations: 1.266 MB / 1.559 GB, free: 5.883 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.17, allocations: 0 / 1.559 GB, free: 5.883 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/1.171, allocations: 423.3 kB / 1.56 GB, free: 5.449 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003674/1.171, allocations: 19.94 kB / 1.56 GB, free: 5.43 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.173, allocations: 75.88 kB / 1.56 GB, free: 5.355 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.173, allocations: 56.92 kB / 1.56 GB, free: 5.301 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003283/1.176, allocations: 1.24 MB / 1.561 GB, free: 4.051 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003705/1.18, allocations: 1.899 MB / 1.563 GB, free: 2.137 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001031/1.181, allocations: 499.7 kB / 1.563 GB, free: 1.648 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002555/1.183, allocations: 1.474 MB / 1.565 GB, free: 168 kB / 1.279 GB Notification: Performance of Backend: time 6.82e-07/1.183, allocations: 0 / 1.565 GB, free: 168 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.5935/1.777, allocations: 3.202 MB / 1.568 GB, free: 333.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.008581/1.785, allocations: 5.33 MB / 1.573 GB, free: 331.3 MB / 1.279 GB Notification: Performance of Templates: time 0.0713/1.857, allocations: 52.6 MB / 1.624 GB, free: 293.4 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