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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001178/0.001178, allocations: 179.2 kB / 498.1 MB, free: 5.695 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.564/1.564, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.000971/0.000971, allocations: 102.5 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 6.969 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3722, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/1.601, allocations: 450.7 MB / 1.663 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/1.601, allocations: 109.4 kB / 1.663 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 11.13/12.73, allocations: 2.665 GB / 4.328 GB, free: 85.91 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.875e-06/12.73, allocations: 0 / 4.328 GB, free: 85.91 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001881/12.73, allocations: 164.3 kB / 4.328 GB, free: 85.88 MB / 1.26 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.03084/12.76, allocations: 6.942 MB / 4.335 GB, free: 82.88 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/12.76, allocations: 11.56 kB / 4.335 GB, free: 82.88 MB / 1.26 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003306/12.76, allocations: 0.4966 MB / 4.336 GB, free: 82.82 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00887/12.77, allocations: 1.347 MB / 4.337 GB, free: 82.45 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02383/12.8, allocations: 6.483 MB / 4.343 GB, free: 81.49 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002382/12.8, allocations: 0.6883 MB / 4.344 GB, free: 81.48 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002447/12.8, allocations: 411.7 kB / 4.344 GB, free: 81.47 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/12.82, allocations: 4.773 MB / 4.349 GB, free: 81 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000321/12.82, allocations: 10.53 kB / 4.349 GB, free: 81 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001936/12.82, allocations: 159.7 kB / 4.349 GB, free: 81 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002265/12.82, allocations: 145.8 kB / 4.349 GB, free: 80.99 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/12.84, allocations: 4.382 MB / 4.354 GB, free: 80.96 MB / 1.26 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.05661/12.89, allocations: 22.35 MB / 4.375 GB, free: 72.04 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00776/12.9, allocations: 2.905 MB / 4.378 GB, free: 71.71 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001962/12.9, allocations: 1.92 MB / 4.38 GB, free: 69.65 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005634/12.91, allocations: 1.801 MB / 4.382 GB, free: 69.54 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005462/12.92, allocations: 495.8 kB / 4.382 GB, free: 69.38 MB / 1.26 GB Notification: Performance of pre-optimization done (n=236): time 2.357e-05/12.92, allocations: 0 / 4.382 GB, free: 69.38 MB / 1.26 GB Notification: Performance of matching and sorting (n=236): time 0.01686/12.93, allocations: 4.934 MB / 4.387 GB, free: 68.87 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/12.93, allocations: 264.8 kB / 4.387 GB, free: 68.59 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/12.95, allocations: 4.585 MB / 4.392 GB, free: 68.21 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/12.95, allocations: 86.7 kB / 4.392 GB, free: 68.18 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/12.95, allocations: 2.637 MB / 4.395 GB, free: 67.53 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001552/12.95, allocations: 0.8075 MB / 4.395 GB, free: 67.02 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/12.95, allocations: 60.59 kB / 4.395 GB, free: 67.02 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0002038/12.95, allocations: 417.9 kB / 4.396 GB, free: 66.71 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003575/12.96, allocations: 1.483 MB / 4.397 GB, free: 66.7 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004152/12.96, allocations: 2.416 MB / 4.4 GB, free: 65.7 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/12.97, allocations: 1.746 MB / 4.401 GB, free: 65.61 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/12.97, allocations: 5.406 kB / 4.401 GB, free: 65.61 MB / 1.26 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01149/12.98, allocations: 4.473 MB / 4.406 GB, free: 65.09 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.003172/12.98, allocations: 9.017 MB / 4.415 GB, free: 55.9 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.604e-05/12.98, allocations: 25.09 kB / 4.415 GB, free: 55.9 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/12.98, allocations: 35.34 kB / 4.415 GB, free: 55.9 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005975/12.99, allocations: 0.983 MB / 4.416 GB, free: 55.88 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/12.99, allocations: 5.41 MB / 4.421 GB, free: 50.6 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/13, allocations: 0.5059 MB / 4.421 GB, free: 50.54 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/13, allocations: 163.3 kB / 4.422 GB, free: 50.54 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/13, allocations: 7.281 kB / 4.422 GB, free: 50.53 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009491/13.01, allocations: 3.935 MB / 4.425 GB, free: 50.34 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.486e-05/13.01, allocations: 20.56 kB / 4.425 GB, free: 50.34 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.999e-05/13.01, allocations: 37.64 kB / 4.425 GB, free: 50.34 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/13.01, allocations: 0.908 MB / 4.426 GB, free: 50.32 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.683e-05/13.01, allocations: 47 kB / 4.426 GB, free: 50.32 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007139/13.02, allocations: 0.509 MB / 4.427 GB, free: 50.26 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008566/13.02, allocations: 158.5 kB / 4.427 GB, free: 50.26 MB / 1.26 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 () * Number of clocked 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.004617/13.03, allocations: 1.201 MB / 4.428 GB, free: 50.03 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00222/13.03, allocations: 0.5728 MB / 4.429 GB, free: 49.72 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/13.04, allocations: 4.387 MB / 4.433 GB, free: 49.36 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/13.04, allocations: 35.31 kB / 4.433 GB, free: 49.36 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/13.04, allocations: 0 / 4.433 GB, free: 49.36 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007142/13.05, allocations: 3.37 MB / 4.436 GB, free: 49.02 MB / 1.26 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/13.07, allocations: 9.225 MB / 4.445 GB, free: 48.28 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/13.07, allocations: 2.969 kB / 4.445 GB, free: 48.28 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003353/13.07, allocations: 0.7119 MB / 4.446 GB, free: 48.26 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-05/13.07, allocations: 13.22 kB / 4.446 GB, free: 48.26 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/13.07, allocations: 83.95 kB / 4.446 GB, free: 48.26 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/13.08, allocations: 5.348 MB / 4.451 GB, free: 42.99 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/13.08, allocations: 6.25 kB / 4.451 GB, free: 42.98 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/13.09, allocations: 6.397 MB / 4.458 GB, free: 41.8 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005152/13.1, allocations: 1.205 MB / 4.459 GB, free: 41.39 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002357/13.1, allocations: 57.8 kB / 4.459 GB, free: 41.39 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006614/13.1, allocations: 481.4 kB / 4.459 GB, free: 41.34 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000493/13.1, allocations: 184 kB / 4.459 GB, free: 41.32 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004859/13.11, allocations: 123.1 kB / 4.46 GB, free: 41.32 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.0096/13.11, allocations: 3.505 MB / 4.463 GB, free: 41.11 MB / 1.26 GB Notification: Performance of sort global known variables: time 4e-07/13.11, allocations: 0 / 4.463 GB, free: 41.11 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01667/13.13, allocations: 2.764 MB / 4.466 GB, free: 40.82 MB / 1.26 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) * Number of clocked states: 0 () * 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.02572/13.16, allocations: 9.788 MB / 4.475 GB, free: 37.71 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01766/13.17, allocations: 5.987 MB / 4.481 GB, free: 37.37 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/13.17, allocations: 2.906 kB / 4.481 GB, free: 37.37 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.005669/13.18, allocations: 1.945 MB / 4.483 GB, free: 37.2 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01771/13.2, allocations: 2.861 MB / 4.486 GB, free: 37.06 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0488/13.25, allocations: 28 MB / 4.513 GB, free: 31.9 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006374/13.25, allocations: 2.938 MB / 4.516 GB, free: 31.03 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.01162/13.27, allocations: 1.276 MB / 4.517 GB, free: 30.82 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007512/13.27, allocations: 2.537 MB / 4.52 GB, free: 30.81 MB / 1.276 GB Notification: Performance of SimCode: time 2.023e-06/13.27, allocations: 0 / 4.52 GB, free: 30.81 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.264/14.54, allocations: 174.2 MB / 4.69 GB, free: 133.1 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/14.54, allocations: 296.1 kB / 4.69 GB, free: 132.7 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.226/23.76, allocations: 3.875 kB / 4.69 GB, free: 132.7 MB / 1.307 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController_res.mat does not exist to compare? outputFormat=mat