Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001307/0.001307, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.001305/0.001305, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.2 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.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6758/0.6772, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController): time 0.2111/0.8883, allocations: 231.6 MB / 1.393 GB, free: 11.46 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.05473/0.9431, allocations: 41.54 MB / 1.434 GB, free: 1.828 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00801/0.9512, allocations: 262.4 kB / 1.434 GB, free: 1.57 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.009085/0.9603, allocations: 3.323 MB / 1.438 GB, free: 14.22 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02275/0.9831, allocations: 8.628 MB / 1.446 GB, free: 5.562 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01351/0.9966, allocations: 5.936 MB / 1.452 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02179/1.018, allocations: 16.44 MB / 1.468 GB, free: 15.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/1.029, allocations: 6.43 MB / 1.474 GB, free: 8.648 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01526/1.044, allocations: 7.419 MB / 1.481 GB, free: 1.227 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00798/1.052, allocations: 4.815 MB / 1.486 GB, free: 12.39 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002051/1.055, allocations: 0.7344 MB / 1.487 GB, free: 11.66 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009067/1.064, allocations: 3.678 MB / 1.49 GB, free: 7.973 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.003047/1.067, allocations: 1.639 MB / 1.492 GB, free: 6.328 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.007166/1.074, allocations: 3.787 MB / 1.496 GB, free: 2.523 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01945/1.093, allocations: 11.77 MB / 1.507 GB, free: 6.715 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.093, allocations: 0 / 1.507 GB, free: 6.715 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.453e-06/1.093, allocations: 0 / 1.507 GB, free: 6.715 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002997/1.094, allocations: 0 / 1.507 GB, free: 6.715 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.01779/1.111, allocations: 7.578 MB / 1.515 GB, free: 15.04 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.112, allocations: 8.922 kB / 1.515 GB, free: 15.03 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/1.118, allocations: 1.381 MB / 1.516 GB, free: 13.64 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/1.13, allocations: 5.817 MB / 1.522 GB, free: 7.766 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003472/1.13, allocations: 299.4 kB / 1.522 GB, free: 7.473 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/1.132, allocations: 399.9 kB / 1.522 GB, free: 7.082 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/1.142, allocations: 4.649 MB / 1.527 GB, free: 2.32 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.759e-05/1.142, allocations: 7.922 kB / 1.527 GB, free: 2.312 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004406/1.143, allocations: 160 kB / 1.527 GB, free: 2.156 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/1.143, allocations: 143.1 kB / 1.527 GB, free: 2.016 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/1.154, allocations: 4.209 MB / 1.531 GB, free: 13.8 MB / 1.264 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.03386/1.188, allocations: 22.04 MB / 1.553 GB, free: 6.496 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006001/1.194, allocations: 2.589 MB / 1.555 GB, free: 3.852 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/1.197, allocations: 1.479 MB / 1.557 GB, free: 2.375 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5626/1.76, allocations: 2.139 MB / 1.559 GB, free: 375.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004773/1.764, allocations: 1.674 MB / 1.56 GB, free: 375 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002189/1.767, allocations: 335.6 kB / 1.561 GB, free: 375 MB / 1.279 GB Notification: Performance of pre-optimization done (n=232): time 6.983e-06/1.767, allocations: 0.6875 kB / 1.561 GB, free: 375 MB / 1.279 GB Notification: Performance of matching and sorting (n=232): time 0.01082/1.777, allocations: 4.511 MB / 1.565 GB, free: 373.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.777, allocations: 103.5 kB / 1.565 GB, free: 373.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006387/1.784, allocations: 5.183 MB / 1.57 GB, free: 371.8 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002638/1.784, allocations: 77.39 kB / 1.57 GB, free: 371.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.786, allocations: 2.686 MB / 1.573 GB, free: 370.1 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/1.786, allocations: 0.8238 MB / 1.574 GB, free: 369.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008447/1.787, allocations: 0.6437 MB / 1.574 GB, free: 369.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.433e-05/1.787, allocations: 305.1 kB / 1.575 GB, free: 369 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/1.79, allocations: 1.398 MB / 1.576 GB, free: 368.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003323/1.794, allocations: 2.186 MB / 1.578 GB, free: 367.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/1.8, allocations: 3.491 MB / 1.582 GB, free: 365.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.8, allocations: 8.031 kB / 1.582 GB, free: 365.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.008539/1.808, allocations: 4.286 MB / 1.586 GB, free: 363.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/1.808, allocations: 46.52 kB / 1.586 GB, free: 363.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.808, allocations: 20.22 kB / 1.586 GB, free: 363.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/1.808, allocations: 34.12 kB / 1.586 GB, free: 363.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/1.813, allocations: 0.9764 MB / 1.587 GB, free: 363.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/1.815, allocations: 5.402 MB / 1.592 GB, free: 357.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.819, allocations: 258.8 kB / 1.592 GB, free: 357.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/1.819, allocations: 155.4 kB / 1.593 GB, free: 357.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00444/1.824, allocations: 2.295 MB / 1.595 GB, free: 356.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003187/1.827, allocations: 2.164 MB / 1.597 GB, free: 354.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005792/1.833, allocations: 3.431 MB / 1.6 GB, free: 350.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.999e-06/1.833, allocations: 9.969 kB / 1.6 GB, free: 350.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=376) (initialization_lambda0): time 0.008512/1.841, allocations: 4.224 MB / 1.604 GB, free: 346.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/1.841, allocations: 41.7 kB / 1.604 GB, free: 346.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.841, allocations: 16 kB / 1.604 GB, free: 346.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.841, allocations: 39.84 kB / 1.604 GB, free: 346.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003468/1.845, allocations: 0.8455 MB / 1.605 GB, free: 345.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/1.845, allocations: 43.86 kB / 1.605 GB, free: 345.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/1.849, allocations: 282.8 kB / 1.606 GB, free: 345.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.849, allocations: 147.9 kB / 1.606 GB, free: 345.3 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.0006828/1.85, allocations: 398.1 kB / 1.606 GB, free: 344.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/1.851, allocations: 0.5938 MB / 1.607 GB, free: 344.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008388/1.859, allocations: 4.136 MB / 1.611 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005972/1.865, allocations: 3.117 MB / 1.614 GB, free: 337 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.865, allocations: 0 / 1.614 GB, free: 337 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/1.867, allocations: 1.161 MB / 1.615 GB, free: 335.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008132/1.868, allocations: 55.98 kB / 1.615 GB, free: 335.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.871, allocations: 227.8 kB / 1.615 GB, free: 335.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/1.871, allocations: 173.9 kB / 1.615 GB, free: 335.4 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008725/1.88, allocations: 3.88 MB / 1.619 GB, free: 331.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0108/1.891, allocations: 5.863 MB / 1.625 GB, free: 325.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002816/1.894, allocations: 1.645 MB / 1.627 GB, free: 323.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004629/1.898, allocations: 3.469 MB / 1.63 GB, free: 320.4 MB / 1.279 GB Notification: Performance of Backend: time 5.51e-07/1.898, allocations: 0 / 1.63 GB, free: 320.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.912, allocations: 5.62 MB / 1.635 GB, free: 314.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.0184/1.93, allocations: 11.84 MB / 1.647 GB, free: 303.2 MB / 1.279 GB Notification: Performance of Templates: time 0.1482/2.078, allocations: 124.6 MB / 1.769 GB, free: 179.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches