Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.563/2.563, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001566/0.001566, allocations: 184 kB / 0.4901 GB, free: 2.242 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.784/1.784, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001152/0.001151, allocations: 104 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 10.78 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.338, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.71, allocations: 0.4986 GB / 1.728 GB, free: 15.84 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/1.71, allocations: 113.5 kB / 1.728 GB, free: 15.77 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 29.15/30.86, allocations: 6.751 GB / 8.479 GB, free: 74.67 MB / 1.526 GB Notification: Performance of FrontEnd: time 2.454e-06/30.86, allocations: 0 / 8.479 GB, free: 74.67 MB / 1.526 GB Notification: Performance of Transformations before backend: time 0.004525/30.86, allocations: 347.8 kB / 8.48 GB, free: 74.61 MB / 1.526 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.08498/30.95, allocations: 15.8 MB / 8.495 GB, free: 68.12 MB / 1.526 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/30.95, allocations: 8.719 kB / 8.495 GB, free: 68.12 MB / 1.526 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006774/30.95, allocations: 0.9386 MB / 8.496 GB, free: 68.04 MB / 1.526 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02401/30.98, allocations: 3.411 MB / 8.499 GB, free: 67.21 MB / 1.526 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06236/31.04, allocations: 19.03 MB / 8.518 GB, free: 65.14 MB / 1.526 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002694/31.04, allocations: 1.041 MB / 8.519 GB, free: 64.99 MB / 1.526 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005091/31.05, allocations: 0.7975 MB / 8.52 GB, free: 64.99 MB / 1.526 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/31.09, allocations: 11.02 MB / 8.53 GB, free: 64.28 MB / 1.526 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003889/31.09, allocations: 8.938 kB / 8.53 GB, free: 64.28 MB / 1.526 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003237/31.09, allocations: 300.8 kB / 8.531 GB, free: 64.28 MB / 1.526 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/31.09, allocations: 188 kB / 8.531 GB, free: 64.28 MB / 1.526 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03666/31.13, allocations: 11.66 MB / 8.542 GB, free: 64.22 MB / 1.526 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.1255/31.25, allocations: 59.3 MB / 8.6 GB, free: 39.22 MB / 1.526 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/31.27, allocations: 7.845 MB / 8.608 GB, free: 38.11 MB / 1.526 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002992/31.28, allocations: 3.273 MB / 8.611 GB, free: 34.54 MB / 1.526 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01358/31.29, allocations: 4.454 MB / 8.615 GB, free: 34.4 MB / 1.526 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0164/31.31, allocations: 2.079 MB / 8.617 GB, free: 34.13 MB / 1.526 GB Notification: Performance of pre-optimization done (n=403): time 4.68e-05/31.31, allocations: 1.312 kB / 8.617 GB, free: 34.13 MB / 1.526 GB Notification: Performance of matching and sorting (n=403): time 0.04899/31.35, allocations: 14.35 MB / 8.631 GB, free: 32.96 MB / 1.526 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/31.35, allocations: 228.6 kB / 8.632 GB, free: 32.74 MB / 1.526 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0418/31.4, allocations: 12.22 MB / 8.644 GB, free: 32.04 MB / 1.526 GB Notification: Performance of collectPreVariables (initialization): time 0.002689/31.4, allocations: 145.7 kB / 8.644 GB, free: 32 MB / 1.526 GB Notification: Performance of collectInitialEqns (initialization): time 0.01381/31.41, allocations: 6.285 MB / 8.65 GB, free: 30.66 MB / 1.526 GB Notification: Performance of collectInitialBindings (initialization): time 0.003362/31.42, allocations: 1.377 MB / 8.651 GB, free: 29.77 MB / 1.526 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/31.42, allocations: 113.7 kB / 8.651 GB, free: 29.77 MB / 1.526 GB Notification: Performance of setup shared object (initialization): time 0.0008579/31.42, allocations: 0.524 MB / 8.652 GB, free: 29.45 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/31.43, allocations: 4.231 MB / 8.656 GB, free: 29.44 MB / 1.526 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01469/31.45, allocations: 6.407 MB / 8.662 GB, free: 27.07 MB / 1.526 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/31.46, allocations: 4.7 MB / 8.667 GB, free: 26.97 MB / 1.526 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/31.46, allocations: 10.28 kB / 8.667 GB, free: 26.97 MB / 1.526 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.03829/31.5, allocations: 11.68 MB / 8.678 GB, free: 26.15 MB / 1.526 GB Notification: Performance of prepare postOptimizeDAE: time 0.009096/31.51, allocations: 25.36 MB / 8.703 GB, free: 15.81 MB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002038/31.51, allocations: 37.81 kB / 8.703 GB, free: 15.81 MB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004139/31.51, allocations: 0.9145 MB / 8.704 GB, free: 15.77 MB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/31.52, allocations: 1.715 MB / 8.706 GB, free: 15.75 MB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/31.53, allocations: 4.913 MB / 8.71 GB, free: 28.32 MB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02092/31.55, allocations: 1.309 MB / 8.712 GB, free: 28.16 MB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003013/31.55, allocations: 332.5 kB / 8.712 GB, free: 28.16 MB / 1.557 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/31.55, allocations: 4.812 kB / 8.712 GB, free: 28.16 MB / 1.557 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03458/31.59, allocations: 10.44 MB / 8.722 GB, free: 27.91 MB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003277/31.59, allocations: 37.59 kB / 8.722 GB, free: 27.91 MB / 1.557 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/31.59, allocations: 445.2 kB / 8.723 GB, free: 27.88 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/31.6, allocations: 1.717 MB / 8.724 GB, free: 27.86 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009567/31.61, allocations: 5.754 MB / 8.73 GB, free: 24.99 MB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01864/31.63, allocations: 1.296 MB / 8.731 GB, free: 24.84 MB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002909/31.63, allocations: 319.6 kB / 8.731 GB, free: 24.84 MB / 1.557 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition3,intWSEPri2.trigger,$PRE.tri.pulseStart,tri.pulseStart,intWSEPri2.chiPar.chi[1].tru.y,intWSEPri1.chiPar.chi[1].tru.y,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],intWSEPri1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (678): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 21,6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0155/31.65, allocations: 3.557 MB / 8.735 GB, free: 24.59 MB / 1.557 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007204/31.65, allocations: 1.242 MB / 8.736 GB, free: 23.92 MB / 1.557 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03891/31.69, allocations: 10.31 MB / 8.746 GB, free: 23.37 MB / 1.557 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/31.69, allocations: 54.25 kB / 8.746 GB, free: 23.37 MB / 1.557 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.419e-05/31.69, allocations: 0 / 8.746 GB, free: 23.37 MB / 1.557 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02394/31.72, allocations: 8.029 MB / 8.754 GB, free: 23.07 MB / 1.557 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 postOpt removeSimpleEquations (simulation): time 0.08874/31.81, allocations: 22.83 MB / 8.776 GB, free: 21.43 MB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.284e-05/31.81, allocations: 6.062 kB / 8.776 GB, free: 21.43 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006943/31.81, allocations: 1.153 MB / 8.778 GB, free: 21.41 MB / 1.557 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/31.82, allocations: 0.8079 MB / 8.778 GB, free: 21.37 MB / 1.557 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001602/31.82, allocations: 136 kB / 8.778 GB, free: 21.37 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/31.82, allocations: 4.753 MB / 8.783 GB, free: 17.94 MB / 1.557 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/31.82, allocations: 0 / 8.783 GB, free: 17.94 MB / 1.557 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03917/31.86, allocations: 15.51 MB / 8.798 GB, free: 15.97 MB / 1.557 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0147/31.88, allocations: 2.952 MB / 8.801 GB, free: 14.97 MB / 1.557 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007655/31.88, allocations: 85.84 kB / 8.801 GB, free: 14.97 MB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01558/31.9, allocations: 1.074 MB / 8.802 GB, free: 14.86 MB / 1.557 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/31.9, allocations: 283.8 kB / 8.803 GB, free: 14.85 MB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001846/31.9, allocations: 213.4 kB / 8.803 GB, free: 14.85 MB / 1.557 GB Notification: Performance of sorting global known variables: time 0.03217/31.94, allocations: 9.408 MB / 8.812 GB, free: 14.49 MB / 1.557 GB Notification: Performance of sort global known variables: time 2.214e-06/31.94, allocations: 0.8438 kB / 8.812 GB, free: 14.49 MB / 1.557 GB Notification: Performance of remove unused functions: time 0.04426/31.98, allocations: 6.511 MB / 8.818 GB, free: 13.86 MB / 1.557 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (TSup1.T,intWSEPri1.chiPar.chi[1].vol1.dynBal.U,intWSEPri1.chiPar.chi[1].vol2.dynBal.U,intWSEPri1.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri1.wse.heaExc.con.I.y,intWSEPri1.senTem.T,intWSEPri1.jun3.vol.dynBal.U,intWSEPri2.chiPar.chi[1].vol1.dynBal.U,intWSEPri2.chiPar.chi[1].vol2.dynBal.U,intWSEPri2.wse.heaExc.thrWayVal.vol.dynBal.U,intWSEPri2.wse.heaExc.con.I.y,intWSEPri2.senTem.T,intWSEPri2.jun3.vol.dynBal.U,TSup2.T) * Number of discrete variables: 12 (intWSEPri2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,intWSEPri1.on[1],intWSEPri1.on[2],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 (416): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 23,5 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.06094/32.04, allocations: 23.43 MB / 8.841 GB, free: 7.012 MB / 1.557 GB Notification: Performance of simCode: created initialization part: time 0.04183/32.08, allocations: 15.48 MB / 8.856 GB, free: 6.379 MB / 1.557 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/32.08, allocations: 3.938 kB / 8.856 GB, free: 6.379 MB / 1.557 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/32.09, allocations: 4.398 MB / 8.861 GB, free: 5.832 MB / 1.557 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04003/32.13, allocations: 7.15 MB / 8.868 GB, free: 4.426 MB / 1.557 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1151/32.25, allocations: 65.67 MB / 8.932 GB, free: 2.031 MB / 1.604 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02587/32.27, allocations: 7.102 MB / 8.939 GB, free: 160 kB / 1.604 GB Notification: Performance of simCode: alias equations: time 0.03188/32.31, allocations: 3.648 MB / 8.942 GB, free: 0 / 1.604 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03413/32.34, allocations: 7.168 MB / 8.949 GB, free: 15.5 MB / 1.62 GB Notification: Performance of SimCode: time 2.014e-06/32.34, allocations: 0 / 8.949 GB, free: 15.5 MB / 1.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.239/35.58, allocations: 411 MB / 9.351 GB, free: 150.7 MB / 1.62 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/35.58, allocations: 317.6 kB / 9.351 GB, free: 150.4 MB / 1.62 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.49/62.06, allocations: 4 kB / 9.351 GB, free: 150.4 MB / 1.62 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_IntegratedPrimaryPlantSide.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.IntegratedPrimaryPlantSide_res.mat does not exist to compare? outputFormat=mat