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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.239/2.239, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 186.5 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001158, allocations: 95.58 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.749e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3606, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.509/1.869, allocations: 450.6 MB / 1.652 GB, free: 12.79 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005421/1.87, allocations: 103 kB / 1.652 GB, free: 12.73 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 10.89/12.76, allocations: 2.645 GB / 4.297 GB, free: 77.74 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.374e-06/12.76, allocations: 6.875 kB / 4.297 GB, free: 77.74 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001433/12.77, allocations: 169 kB / 4.297 GB, free: 77.7 MB / 1.245 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.0216/12.79, allocations: 5.721 MB / 4.303 GB, free: 74.95 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/12.79, allocations: 8.844 kB / 4.303 GB, free: 74.95 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007724/12.8, allocations: 1.352 MB / 4.304 GB, free: 74.58 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/12.81, allocations: 6.422 MB / 4.31 GB, free: 73.52 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002117/12.82, allocations: 0.5439 MB / 4.311 GB, free: 73.48 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/12.82, allocations: 237.5 kB / 4.311 GB, free: 73.48 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01029/12.83, allocations: 3.461 MB / 4.315 GB, free: 73.46 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/12.84, allocations: 3.824 MB / 4.318 GB, free: 72.97 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002018/12.84, allocations: 10.89 kB / 4.318 GB, free: 72.97 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001346/12.85, allocations: 10.59 kB / 4.318 GB, free: 72.96 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/12.85, allocations: 138.8 kB / 4.319 GB, free: 72.96 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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.04601/12.89, allocations: 21.53 MB / 4.34 GB, free: 63.89 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004138/12.9, allocations: 2.211 MB / 4.342 GB, free: 63.56 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/12.9, allocations: 1.185 MB / 4.343 GB, free: 63.55 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001906/12.9, allocations: 1.915 MB / 4.345 GB, free: 61.48 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003118/12.9, allocations: 1.384 MB / 4.346 GB, free: 61.37 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004267/12.91, allocations: 366.4 kB / 4.346 GB, free: 61.25 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 8.956e-06/12.91, allocations: 0 / 4.346 GB, free: 61.25 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.008523/12.92, allocations: 2.929 MB / 4.349 GB, free: 60.89 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/12.92, allocations: 258.6 kB / 4.35 GB, free: 60.61 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009304/12.92, allocations: 3.695 MB / 4.353 GB, free: 60.29 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0009775/12.93, allocations: 32.36 kB / 4.353 GB, free: 60.26 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.003166/12.93, allocations: 2.638 MB / 4.356 GB, free: 59.47 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/12.93, allocations: 0.7767 MB / 4.357 GB, free: 58.95 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/12.93, allocations: 0 / 4.357 GB, free: 58.95 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0002897/12.93, allocations: 422 kB / 4.357 GB, free: 58.63 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/12.93, allocations: 1.098 MB / 4.358 GB, free: 58.62 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/12.94, allocations: 1.994 MB / 4.36 GB, free: 57.61 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/12.94, allocations: 1.565 MB / 4.361 GB, free: 57.51 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/12.94, allocations: 7.75 kB / 4.361 GB, free: 57.51 MB / 1.245 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.009722/12.95, allocations: 3.698 MB / 4.365 GB, free: 57.04 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001853/12.95, allocations: 8.749 MB / 4.374 GB, free: 47.83 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.05e-05/12.95, allocations: 14.94 kB / 4.374 GB, free: 47.83 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.029e-05/12.95, allocations: 43.5 kB / 4.374 GB, free: 47.83 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005216/12.96, allocations: 0.9935 MB / 4.375 GB, free: 47.77 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/12.96, allocations: 5.475 MB / 4.38 GB, free: 42.47 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006346/12.97, allocations: 436.5 kB / 4.38 GB, free: 42.41 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009444/12.97, allocations: 164.1 kB / 4.381 GB, free: 42.4 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/12.97, allocations: 2.594 kB / 4.381 GB, free: 42.4 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009392/12.98, allocations: 3.119 MB / 4.384 GB, free: 42.21 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.75e-05/12.98, allocations: 19 kB / 4.384 GB, free: 42.21 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.489e-05/12.98, allocations: 36.53 kB / 4.384 GB, free: 42.21 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/12.98, allocations: 0.9103 MB / 4.385 GB, free: 42.15 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.567e-05/12.98, allocations: 45.8 kB / 4.385 GB, free: 42.14 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006754/12.99, allocations: 418.6 kB / 4.385 GB, free: 42.09 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008349/12.99, allocations: 154.4 kB / 4.385 GB, free: 42.09 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001514/12.99, allocations: 226 kB / 4.385 GB, free: 41.89 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002077/12.99, allocations: 0.5082 MB / 4.386 GB, free: 41.62 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/13, allocations: 3.628 MB / 4.389 GB, free: 41.06 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/13, allocations: 37.11 kB / 4.389 GB, free: 41.06 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/13, allocations: 3.953 kB / 4.389 GB, free: 41.05 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00597/13.01, allocations: 2.711 MB / 4.392 GB, free: 39.95 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/13.03, allocations: 8.07 MB / 4.4 GB, free: 36.45 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/13.03, allocations: 0 / 4.4 GB, free: 36.45 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/13.03, allocations: 0.7102 MB / 4.401 GB, free: 36.39 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.343e-05/13.04, allocations: 16.69 kB / 4.401 GB, free: 36.39 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006412/13.04, allocations: 55.08 kB / 4.401 GB, free: 36.38 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/13.04, allocations: 5.363 MB / 4.406 GB, free: 31 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/13.04, allocations: 4.672 kB / 4.406 GB, free: 31 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/13.05, allocations: 5.248 MB / 4.411 GB, free: 28.32 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004967/13.06, allocations: 1.143 MB / 4.412 GB, free: 27.57 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002304/13.06, allocations: 17.41 kB / 4.412 GB, free: 27.57 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006301/13.07, allocations: 429.9 kB / 4.413 GB, free: 27.51 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/13.07, allocations: 178 kB / 4.413 GB, free: 27.49 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000541/13.07, allocations: 131.2 kB / 4.413 GB, free: 27.46 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.007648/13.07, allocations: 2.733 MB / 4.416 GB, free: 26.32 MB / 1.245 GB Notification: Performance of sort global known variables: time 2.084e-06/13.07, allocations: 0 / 4.416 GB, free: 26.32 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.01493/13.09, allocations: 2.729 MB / 4.418 GB, free: 25.75 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.s[1],hex1.thrWayVal.filter.s[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.s[1],hex2.thrWayVal.filter.s[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.s[1],hex3.thrWayVal.filter.s[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006956/13.1, allocations: 2.61 MB / 4.421 GB, free: 24.46 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01276/13.11, allocations: 4.901 MB / 4.426 GB, free: 22.39 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/13.11, allocations: 448 / 4.426 GB, free: 22.39 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/13.11, allocations: 1.528 MB / 4.427 GB, free: 21.75 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01429/13.13, allocations: 2.287 MB / 4.429 GB, free: 21.28 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/13.15, allocations: 7.616 MB / 4.437 GB, free: 17.02 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004433/13.15, allocations: 2.938 MB / 4.44 GB, free: 14.88 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01136/13.17, allocations: 1.459 MB / 4.441 GB, free: 13.93 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/13.17, allocations: 328.8 kB / 4.441 GB, free: 13.64 MB / 1.245 GB Notification: Performance of SimCode: time 1.162e-06/13.17, allocations: 0 / 4.441 GB, free: 13.64 MB / 1.245 GB Notification: Performance of Templates: time 1.268/14.44, allocations: 102.8 MB / 4.542 GB, free: 99.54 MB / 1.276 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","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches