Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001678/0.001678, allocations: 110.8 kB / 16.42 MB, free: 6.449 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.001857/0.001857, allocations: 187.9 kB / 17.35 MB, free: 5.699 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.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.89 kB / 1.019 GB, free: 9.289 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6909, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.2346/0.9256, allocations: 243 MB / 1.405 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.9514, allocations: 17.96 MB / 1.422 GB, free: 13.96 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.9545, allocations: 95.44 kB / 1.422 GB, free: 13.87 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005634/0.9601, allocations: 2.216 MB / 1.424 GB, free: 11.65 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008607/0.9687, allocations: 3.792 MB / 1.428 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.9746, allocations: 2.653 MB / 1.431 GB, free: 5.207 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.9853, allocations: 8.096 MB / 1.439 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.9879, allocations: 2.057 MB / 1.441 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005606/0.9935, allocations: 3.094 MB / 1.444 GB, free: 7.879 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.9962, allocations: 1.701 MB / 1.445 GB, free: 6.176 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.9966, allocations: 228 kB / 1.446 GB, free: 5.953 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006331/1.003, allocations: 3.641 MB / 1.449 GB, free: 2.305 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008506/1.004, allocations: 0.9114 MB / 1.45 GB, free: 1.391 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00176/1.006, allocations: 1.454 MB / 1.451 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009679/1.015, allocations: 5.177 MB / 1.456 GB, free: 10.73 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.015, allocations: 0 / 1.456 GB, free: 10.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.774e-06/1.015, allocations: 0 / 1.456 GB, free: 10.73 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.029e-05/1.015, allocations: 0 / 1.456 GB, free: 10.73 MB / 1.186 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.006363/1.022, allocations: 3.476 MB / 1.46 GB, free: 7.172 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.022, allocations: 8.922 kB / 1.46 GB, free: 7.164 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/1.027, allocations: 0.9113 MB / 1.461 GB, free: 6.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00466/1.032, allocations: 2.915 MB / 1.464 GB, free: 3.266 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-05/1.032, allocations: 122.8 kB / 1.464 GB, free: 3.145 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/1.032, allocations: 148 kB / 1.464 GB, free: 3 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/1.035, allocations: 1.756 MB / 1.466 GB, free: 1.168 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/1.035, allocations: 3.953 kB / 1.466 GB, free: 1.164 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.036, allocations: 67.98 kB / 1.466 GB, free: 1.098 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/1.036, allocations: 50.69 kB / 1.466 GB, free: 1.047 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00352/1.039, allocations: 1.521 MB / 1.467 GB, free: 15.52 MB / 1.201 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.01083/1.05, allocations: 8.518 MB / 1.476 GB, free: 6.395 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/1.053, allocations: 1.928 MB / 1.477 GB, free: 4.266 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.054, allocations: 0.5396 MB / 1.478 GB, free: 3.727 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.055, allocations: 0.7711 MB / 1.479 GB, free: 2.809 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/1.057, allocations: 0.5681 MB / 1.479 GB, free: 2.23 MB / 1.201 GB Notification: Performance of pre-optimization done (n=86): time 3.216e-06/1.057, allocations: 0 / 1.479 GB, free: 2.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=86): time 0.004333/1.061, allocations: 1.692 MB / 1.481 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.061, allocations: 60.41 kB / 1.481 GB, free: 448 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/1.064, allocations: 2.219 MB / 1.483 GB, free: 14.2 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/1.064, allocations: 45.7 kB / 1.483 GB, free: 14.15 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009148/1.065, allocations: 1.135 MB / 1.484 GB, free: 13 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/1.065, allocations: 325.2 kB / 1.485 GB, free: 12.68 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/1.066, allocations: 327.4 kB / 1.485 GB, free: 12.36 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/1.066, allocations: 301.1 kB / 1.485 GB, free: 12.06 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.067, allocations: 0.6372 MB / 1.486 GB, free: 11.42 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/1.069, allocations: 1.041 MB / 1.487 GB, free: 10.22 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/1.071, allocations: 1.588 MB / 1.488 GB, free: 8.504 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.071, allocations: 4 kB / 1.488 GB, free: 8.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004029/1.075, allocations: 1.966 MB / 1.49 GB, free: 6.52 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/1.075, allocations: 41.78 kB / 1.49 GB, free: 6.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.075, allocations: 11.94 kB / 1.49 GB, free: 6.461 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.069e-05/1.075, allocations: 16 kB / 1.49 GB, free: 6.445 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.077, allocations: 335.5 kB / 1.491 GB, free: 6.117 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/1.077, allocations: 23.92 kB / 1.491 GB, free: 6.094 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.078, allocations: 187 kB / 1.491 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.079, allocations: 59.98 kB / 1.491 GB, free: 5.852 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002142/1.081, allocations: 1.14 MB / 1.492 GB, free: 4.707 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00153/1.082, allocations: 1.037 MB / 1.493 GB, free: 3.512 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002655/1.085, allocations: 1.595 MB / 1.495 GB, free: 1.781 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.49e-06/1.085, allocations: 0 / 1.495 GB, free: 1.781 MB / 1.217 GB Notification: Performance of matching and sorting (n=204) (initialization_lambda0): time 0.003751/1.089, allocations: 1.952 MB / 1.497 GB, free: 15.81 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/1.089, allocations: 38.67 kB / 1.497 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.089, allocations: 8 kB / 1.497 GB, free: 15.76 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.089, allocations: 20 kB / 1.497 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.09, allocations: 331.5 kB / 1.497 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/1.09, allocations: 23.88 kB / 1.497 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.092, allocations: 167.5 kB / 1.497 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.092, allocations: 67.98 kB / 1.497 GB, free: 15.16 MB / 1.232 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.0003777/1.092, allocations: 255.9 kB / 1.497 GB, free: 14.91 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/1.093, allocations: 230.5 kB / 1.498 GB, free: 14.68 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/1.096, allocations: 1.228 MB / 1.499 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/1.098, allocations: 1.266 MB / 1.5 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.098, allocations: 3.938 kB / 1.5 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/1.099, allocations: 423.3 kB / 1.5 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/1.099, allocations: 27.94 kB / 1.5 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.1, allocations: 67.92 kB / 1.501 GB, free: 11.55 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.1, allocations: 60.92 kB / 1.501 GB, free: 11.49 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003175/1.103, allocations: 1.244 MB / 1.502 GB, free: 10.23 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003612/1.107, allocations: 1.892 MB / 1.504 GB, free: 8.328 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001031/1.108, allocations: 499.7 kB / 1.504 GB, free: 7.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002115/1.11, allocations: 1.486 MB / 1.506 GB, free: 6.344 MB / 1.232 GB Notification: Performance of Backend: time 3.81e-07/1.11, allocations: 0 / 1.506 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00747/1.118, allocations: 3.205 MB / 1.509 GB, free: 3.277 MB / 1.232 GB Notification: Performance of SimCode: time 0.008783/1.126, allocations: 5.336 MB / 1.514 GB, free: 13.89 MB / 1.248 GB Notification: Performance of Templates: time 0.7746/1.901, allocations: 52.63 MB / 1.565 GB, free: 381.3 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_ElectricHeater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches