Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001087/0.001087, allocations: 172.9 kB / 487.4 MB, free: 5.043 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.655/1.655, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009104/0.0009105, allocations: 95.89 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.373e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3462, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.921, allocations: 449.9 MB / 1.645 GB, free: 5.078 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.922, allocations: 105 kB / 1.645 GB, free: 5.02 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 11.39/13.31, allocations: 2.645 GB / 4.29 GB, free: 81.65 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.164e-06/13.31, allocations: 0 / 4.29 GB, free: 81.65 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001387/13.31, allocations: 159.4 kB / 4.29 GB, free: 81.62 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.02578/13.34, allocations: 5.733 MB / 4.296 GB, free: 78.86 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/13.34, allocations: 7.25 kB / 4.296 GB, free: 78.86 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/13.35, allocations: 1.351 MB / 4.297 GB, free: 78.49 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02406/13.37, allocations: 6.416 MB / 4.304 GB, free: 77.44 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002978/13.37, allocations: 0.5421 MB / 4.304 GB, free: 77.42 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/13.38, allocations: 249.6 kB / 4.304 GB, free: 77.41 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01247/13.39, allocations: 3.461 MB / 4.308 GB, free: 77.39 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/13.41, allocations: 3.828 MB / 4.311 GB, free: 76.9 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/13.41, allocations: 1.969 kB / 4.311 GB, free: 76.9 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006962/13.41, allocations: 6.5 kB / 4.311 GB, free: 76.9 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/13.41, allocations: 140.7 kB / 4.312 GB, free: 76.89 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.05677/13.46, allocations: 21.53 MB / 4.333 GB, free: 67.83 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/13.47, allocations: 2.215 MB / 4.335 GB, free: 67.5 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/13.47, allocations: 1.177 MB / 4.336 GB, free: 67.48 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/13.47, allocations: 1.915 MB / 4.338 GB, free: 65.42 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003365/13.48, allocations: 1.39 MB / 4.339 GB, free: 65.3 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005398/13.48, allocations: 379.7 kB / 4.34 GB, free: 65.18 MB / 1.245 GB Notification: Performance of pre-optimization done (n=236): time 1.164e-05/13.48, allocations: 0 / 4.34 GB, free: 65.18 MB / 1.245 GB Notification: Performance of matching and sorting (n=236): time 0.01309/13.5, allocations: 2.922 MB / 4.342 GB, free: 64.83 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/13.5, allocations: 259.7 kB / 4.343 GB, free: 64.54 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/13.51, allocations: 3.688 MB / 4.346 GB, free: 64.22 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/13.51, allocations: 33.97 kB / 4.346 GB, free: 64.19 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.003872/13.51, allocations: 2.642 MB / 4.349 GB, free: 63.4 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001846/13.52, allocations: 0.7764 MB / 4.35 GB, free: 62.88 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/13.52, allocations: 4 kB / 4.35 GB, free: 62.88 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0002109/13.52, allocations: 416.2 kB / 4.35 GB, free: 62.57 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/13.52, allocations: 1.098 MB / 4.351 GB, free: 62.56 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/13.52, allocations: 1.997 MB / 4.353 GB, free: 61.54 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006255/13.53, allocations: 1.567 MB / 4.355 GB, free: 61.44 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-05/13.53, allocations: 7.875 kB / 4.355 GB, free: 61.44 MB / 1.245 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01416/13.54, allocations: 3.702 MB / 4.358 GB, free: 60.96 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.002036/13.55, allocations: 8.743 MB / 4.367 GB, free: 51.76 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.169e-05/13.55, allocations: 15.03 kB / 4.367 GB, free: 51.76 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-05/13.55, allocations: 35.16 kB / 4.367 GB, free: 51.76 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007854/13.55, allocations: 0.9991 MB / 4.368 GB, free: 51.7 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/13.56, allocations: 5.475 MB / 4.373 GB, free: 46.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009351/13.57, allocations: 427.7 kB / 4.373 GB, free: 46.34 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/13.57, allocations: 159.1 kB / 4.374 GB, free: 46.34 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/13.57, allocations: 3 kB / 4.374 GB, free: 46.34 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/13.58, allocations: 3.124 MB / 4.377 GB, free: 45.16 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.357e-05/13.58, allocations: 18.31 kB / 4.377 GB, free: 45.16 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.281e-05/13.58, allocations: 33.66 kB / 4.377 GB, free: 45.16 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006158/13.59, allocations: 0.9122 MB / 4.378 GB, free: 45.07 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-05/13.59, allocations: 52.95 kB / 4.378 GB, free: 45.06 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008892/13.59, allocations: 416 kB / 4.378 GB, free: 45.01 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/13.6, allocations: 161.3 kB / 4.378 GB, free: 44.98 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.001477/13.6, allocations: 223.9 kB / 4.378 GB, free: 44.78 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002404/13.6, allocations: 0.5081 MB / 4.379 GB, free: 44.51 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/13.61, allocations: 3.626 MB / 4.382 GB, free: 43.14 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/13.61, allocations: 39.89 kB / 4.383 GB, free: 43.14 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/13.61, allocations: 2.875 kB / 4.383 GB, free: 43.14 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006381/13.62, allocations: 2.712 MB / 4.385 GB, free: 42.03 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02746/13.65, allocations: 8.083 MB / 4.393 GB, free: 38.52 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/13.65, allocations: 3.625 kB / 4.393 GB, free: 38.52 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/13.65, allocations: 0.7037 MB / 4.394 GB, free: 38.46 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-05/13.65, allocations: 10.38 kB / 4.394 GB, free: 38.46 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005648/13.65, allocations: 57.61 kB / 4.394 GB, free: 38.45 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/13.65, allocations: 5.361 MB / 4.399 GB, free: 33.07 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/13.65, allocations: 5.531 kB / 4.399 GB, free: 33.07 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/13.66, allocations: 5.255 MB / 4.404 GB, free: 30.38 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004508/13.67, allocations: 1.149 MB / 4.405 GB, free: 29.64 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002429/13.67, allocations: 15.41 kB / 4.405 GB, free: 29.63 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006112/13.68, allocations: 429.6 kB / 4.406 GB, free: 29.58 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/13.68, allocations: 182.2 kB / 4.406 GB, free: 29.55 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004951/13.68, allocations: 122.2 kB / 4.406 GB, free: 29.53 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.008808/13.69, allocations: 2.731 MB / 4.409 GB, free: 28.39 MB / 1.245 GB Notification: Performance of sort global known variables: time 9.12e-07/13.69, allocations: 0 / 4.409 GB, free: 28.39 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.02132/13.71, allocations: 2.743 MB / 4.411 GB, free: 27.81 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.006417/13.72, allocations: 2.605 MB / 4.414 GB, free: 26.53 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01312/13.73, allocations: 4.897 MB / 4.419 GB, free: 24.46 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/13.73, allocations: 448 / 4.419 GB, free: 24.46 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.003665/13.73, allocations: 1.535 MB / 4.42 GB, free: 23.81 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0147/13.75, allocations: 2.277 MB / 4.422 GB, free: 23.35 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/13.77, allocations: 7.604 MB / 4.43 GB, free: 16.54 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005151/13.78, allocations: 2.938 MB / 4.433 GB, free: 14.4 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01264/13.79, allocations: 1.462 MB / 4.434 GB, free: 13.45 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/13.79, allocations: 336.2 kB / 4.434 GB, free: 13.16 MB / 1.245 GB Notification: Performance of SimCode: time 1.473e-06/13.79, allocations: 4 kB / 4.434 GB, free: 13.15 MB / 1.245 GB Notification: Performance of Templates: time 1.275/15.07, allocations: 102.8 MB / 4.535 GB, free: 105.1 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches