Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.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.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tri.y|hex1.con.I.y|hex2.con.I.y|hex3.con.I.y|TSen1.T|hex1.TSet|TSen2.T|hex2.TSet|TSen3.T|hex3.TSet",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tri.y|hex1.con.I.y|hex2.con.I.y|hex3.con.I.y|TSen1.T|hex1.TSet|TSen2.T|hex2.TSet|TSen3.T|hex3.TSet",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 112.4 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.001174/0.001174, allocations: 190.6 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.312/1.312, 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 11.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7341, allocations: 157.4 MB / 1.208 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController): time 0.2142/0.9484, allocations: 231.6 MB / 1.435 GB, free: 5.453 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.06248/1.011, allocations: 41.55 MB / 1.475 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008797/1.02, allocations: 258.4 kB / 1.475 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.009519/1.029, allocations: 3.233 MB / 1.479 GB, free: 8.297 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02541/1.055, allocations: 8.167 MB / 1.487 GB, free: 100 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01485/1.07, allocations: 5.911 MB / 1.492 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.02257/1.092, allocations: 16.4 MB / 1.508 GB, free: 9.793 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/1.104, allocations: 6.438 MB / 1.515 GB, free: 3.258 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01722/1.121, allocations: 7.388 MB / 1.522 GB, free: 11.87 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008422/1.13, allocations: 4.823 MB / 1.527 GB, free: 7.023 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002591/1.132, allocations: 0.7344 MB / 1.527 GB, free: 6.289 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009505/1.142, allocations: 3.678 MB / 1.531 GB, free: 2.605 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002843/1.145, allocations: 1.639 MB / 1.532 GB, free: 0.9609 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.006943/1.152, allocations: 3.791 MB / 1.536 GB, free: 13.15 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0188/1.17, allocations: 11.72 MB / 1.548 GB, free: 1.398 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/1.171, allocations: 0 / 1.548 GB, free: 1.398 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.432e-06/1.171, allocations: 0 / 1.548 GB, free: 1.398 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0003082/1.171, allocations: 0 / 1.548 GB, free: 1.398 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01913/1.19, allocations: 7.351 MB / 1.555 GB, free: 9.957 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.19, allocations: 8.031 kB / 1.555 GB, free: 9.949 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006523/1.197, allocations: 1.338 MB / 1.556 GB, free: 8.602 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.21, allocations: 5.769 MB / 1.562 GB, free: 2.766 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/1.21, allocations: 299.4 kB / 1.562 GB, free: 2.473 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/1.212, allocations: 391.9 kB / 1.562 GB, free: 2.09 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5538/1.765, allocations: 4.652 MB / 1.567 GB, free: 338.4 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.32e-05/1.766, allocations: 7.75 kB / 1.567 GB, free: 338.4 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004499/1.766, allocations: 156 kB / 1.567 GB, free: 338.3 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/1.766, allocations: 139.9 kB / 1.567 GB, free: 338.3 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/1.777, allocations: 4.213 MB / 1.571 GB, free: 336.8 MB / 1.279 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.03118/1.808, allocations: 22 MB / 1.593 GB, free: 322 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/1.814, allocations: 2.578 MB / 1.595 GB, free: 320.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/1.817, allocations: 1.483 MB / 1.597 GB, free: 319.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/1.818, allocations: 2.149 MB / 1.599 GB, free: 317.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003662/1.822, allocations: 1.675 MB / 1.601 GB, free: 316.5 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002032/1.824, allocations: 325.4 kB / 1.601 GB, free: 316.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=232): time 8.977e-06/1.824, allocations: 0 / 1.601 GB, free: 316.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=232): time 0.01072/1.835, allocations: 4.481 MB / 1.605 GB, free: 314.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/1.835, allocations: 106.9 kB / 1.605 GB, free: 314.1 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007458/1.842, allocations: 5.167 MB / 1.61 GB, free: 311.4 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003919/1.843, allocations: 77.02 kB / 1.61 GB, free: 311.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.844, allocations: 2.654 MB / 1.613 GB, free: 309.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006364/1.845, allocations: 0.7865 MB / 1.614 GB, free: 308.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.846, allocations: 0.6355 MB / 1.614 GB, free: 308 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/1.846, allocations: 306.7 kB / 1.615 GB, free: 307.7 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.849, allocations: 1.397 MB / 1.616 GB, free: 306.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003417/1.853, allocations: 2.196 MB / 1.618 GB, free: 304.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00627/1.859, allocations: 3.489 MB / 1.622 GB, free: 300.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.859, allocations: 9.562 kB / 1.622 GB, free: 300.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008784/1.868, allocations: 4.26 MB / 1.626 GB, free: 296.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.868, allocations: 49.69 kB / 1.626 GB, free: 296.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/1.868, allocations: 20 kB / 1.626 GB, free: 296.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/1.868, allocations: 35 kB / 1.626 GB, free: 296.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/1.873, allocations: 0.9751 MB / 1.627 GB, free: 295.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/1.874, allocations: 5.397 MB / 1.632 GB, free: 289.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/1.878, allocations: 259 kB / 1.632 GB, free: 289.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003376/1.879, allocations: 155.9 kB / 1.633 GB, free: 289.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004588/1.883, allocations: 2.294 MB / 1.635 GB, free: 286.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003391/1.887, allocations: 2.163 MB / 1.637 GB, free: 284.5 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006189/1.893, allocations: 3.429 MB / 1.64 GB, free: 280.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-05/1.893, allocations: 4 kB / 1.64 GB, free: 280.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=376) (initialization_lambda0): time 0.009076/1.902, allocations: 4.195 MB / 1.644 GB, free: 276.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/1.902, allocations: 55.97 kB / 1.644 GB, free: 276.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/1.902, allocations: 20 kB / 1.644 GB, free: 276.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/1.902, allocations: 36 kB / 1.644 GB, free: 276.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/1.906, allocations: 0.8347 MB / 1.645 GB, free: 275.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.995e-05/1.906, allocations: 47.7 kB / 1.645 GB, free: 275.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/1.91, allocations: 279.5 kB / 1.646 GB, free: 275.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/1.91, allocations: 155.8 kB / 1.646 GB, free: 275.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,tri.pulseStart,$PRE.tri.pulseStart,tri.y,$whenCondition3,TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,$whenCondition1,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007411/1.911, allocations: 402 kB / 1.646 GB, free: 274.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.912, allocations: 0.571 MB / 1.647 GB, free: 274.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008784/1.921, allocations: 4.119 MB / 1.651 GB, free: 270 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006284/1.927, allocations: 3.121 MB / 1.654 GB, free: 266.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.927, allocations: 0 / 1.654 GB, free: 266.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/1.93, allocations: 1.13 MB / 1.655 GB, free: 265.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/1.931, allocations: 60 kB / 1.655 GB, free: 265.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/1.934, allocations: 231.8 kB / 1.655 GB, free: 265.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/1.935, allocations: 173.9 kB / 1.655 GB, free: 265.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008954/1.944, allocations: 3.88 MB / 1.659 GB, free: 261.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0109/1.954, allocations: 5.822 MB / 1.665 GB, free: 255.3 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002952/1.957, allocations: 1.645 MB / 1.666 GB, free: 253.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005248/1.963, allocations: 3.465 MB / 1.67 GB, free: 250.2 MB / 1.279 GB Notification: Performance of Backend: time 3.91e-07/1.963, allocations: 4 kB / 1.67 GB, free: 250.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.014/1.977, allocations: 5.604 MB / 1.675 GB, free: 244.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.01936/1.996, allocations: 11.66 MB / 1.687 GB, free: 233.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1565/2.153, allocations: 127.2 MB / 1.811 GB, free: 107.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches