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.3/2.3, allocations: 390.5 MB / 398 MB, free: 10.96 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.00151/0.00151, allocations: 172.9 kB / 491.2 MB, free: 1.617 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.605/1.605, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001507/0.001507, allocations: 94.66 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.891e-05/2.895e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.567/1.898, allocations: 0.4978 GB / 1.71 GB, free: 1.895 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.898, allocations: 108.7 kB / 1.71 GB, free: 1.832 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 30.94/32.84, allocations: 6.703 GB / 8.413 GB, free: 78.37 MB / 1.51 GB Notification: Performance of FrontEnd: time 3.066e-06/32.84, allocations: 0 / 8.413 GB, free: 78.37 MB / 1.51 GB Notification: Performance of Transformations before backend: time 0.004883/32.84, allocations: 353.7 kB / 8.413 GB, free: 78.31 MB / 1.51 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.06737/32.91, allocations: 12.46 MB / 8.425 GB, free: 72.8 MB / 1.51 GB Notification: Performance of prepare preOptimizeDAE: time 9.059e-05/32.91, allocations: 11.19 kB / 8.425 GB, free: 72.8 MB / 1.51 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02786/32.94, allocations: 3.403 MB / 8.429 GB, free: 71.98 MB / 1.51 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07043/33.01, allocations: 18.89 MB / 8.447 GB, free: 69.9 MB / 1.51 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003207/33.01, allocations: 0.7238 MB / 8.448 GB, free: 69.76 MB / 1.51 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006917/33.02, allocations: 483.3 kB / 8.448 GB, free: 69.76 MB / 1.51 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0381/33.06, allocations: 9.841 MB / 8.458 GB, free: 69.73 MB / 1.51 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0461/33.1, allocations: 9.038 MB / 8.467 GB, free: 69.06 MB / 1.51 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007932/33.11, allocations: 6.656 kB / 8.467 GB, free: 69.06 MB / 1.51 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004734/33.11, allocations: 13.64 kB / 8.467 GB, free: 69.05 MB / 1.51 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000381/33.11, allocations: 190.9 kB / 8.467 GB, free: 69.05 MB / 1.51 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.1439/33.25, allocations: 57.77 MB / 8.523 GB, free: 44.29 MB / 1.51 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/33.27, allocations: 6.758 MB / 8.53 GB, free: 43.2 MB / 1.51 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009812/33.28, allocations: 3.541 MB / 8.533 GB, free: 43.17 MB / 1.51 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003988/33.29, allocations: 3.276 MB / 8.537 GB, free: 39.6 MB / 1.51 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01078/33.3, allocations: 3.576 MB / 8.54 GB, free: 39.46 MB / 1.51 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0162/33.31, allocations: 1.882 MB / 8.542 GB, free: 39.27 MB / 1.51 GB Notification: Performance of pre-optimization done (n=403): time 5.965e-05/33.31, allocations: 0 / 8.542 GB, free: 39.27 MB / 1.51 GB Notification: Performance of matching and sorting (n=403): time 0.02818/33.34, allocations: 7.603 MB / 8.549 GB, free: 38.49 MB / 1.51 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/33.34, allocations: 222.2 kB / 8.55 GB, free: 38.27 MB / 1.51 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04028/33.38, allocations: 10.66 MB / 8.56 GB, free: 37.58 MB / 1.51 GB Notification: Performance of collectPreVariables (initialization): time 0.002539/33.39, allocations: 36.7 kB / 8.56 GB, free: 37.55 MB / 1.51 GB Notification: Performance of collectInitialEqns (initialization): time 0.01325/33.4, allocations: 6.263 MB / 8.566 GB, free: 35.99 MB / 1.51 GB Notification: Performance of collectInitialBindings (initialization): time 0.003327/33.4, allocations: 1.32 MB / 8.567 GB, free: 35.11 MB / 1.51 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/33.4, allocations: 3.312 kB / 8.567 GB, free: 35.11 MB / 1.51 GB Notification: Performance of setup shared object (initialization): time 0.0007747/33.41, allocations: 0.5201 MB / 8.568 GB, free: 34.79 MB / 1.51 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007932/33.41, allocations: 3.418 MB / 8.571 GB, free: 34.77 MB / 1.51 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/33.42, allocations: 5.543 MB / 8.577 GB, free: 32.39 MB / 1.51 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/33.44, allocations: 4.156 MB / 8.581 GB, free: 32.28 MB / 1.51 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/33.44, allocations: 15.12 kB / 8.581 GB, free: 32.27 MB / 1.51 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.03898/33.48, allocations: 10 MB / 8.591 GB, free: 31.5 MB / 1.51 GB Notification: Performance of prepare postOptimizeDAE: time 0.01064/33.49, allocations: 24.63 MB / 8.615 GB, free: 21.73 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003634/33.49, allocations: 37.75 kB / 8.615 GB, free: 21.73 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00335/33.49, allocations: 0.7611 MB / 8.615 GB, free: 21.7 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/33.5, allocations: 1.731 MB / 8.617 GB, free: 21.68 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/33.51, allocations: 5.144 MB / 8.622 GB, free: 18.25 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02307/33.53, allocations: 1.104 MB / 8.623 GB, free: 18.1 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004007/33.54, allocations: 326.5 kB / 8.624 GB, free: 18.1 MB / 1.526 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/33.54, allocations: 4.875 kB / 8.624 GB, free: 18.1 MB / 1.526 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02957/33.57, allocations: 8.56 MB / 8.632 GB, free: 17.95 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002425/33.57, allocations: 36.44 kB / 8.632 GB, free: 17.95 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/33.57, allocations: 419.9 kB / 8.632 GB, free: 17.92 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009696/33.58, allocations: 1.714 MB / 8.634 GB, free: 17.82 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/33.59, allocations: 5.463 MB / 8.639 GB, free: 15.03 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02092/33.61, allocations: 1.082 MB / 8.64 GB, free: 14.89 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003166/33.61, allocations: 325.8 kB / 8.641 GB, free: 14.89 MB / 1.526 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 () * 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.005079/33.62, allocations: 295.9 kB / 8.641 GB, free: 14.65 MB / 1.526 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02813/33.64, allocations: 7.372 MB / 8.648 GB, free: 13.86 MB / 1.526 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006704/33.65, allocations: 1.158 MB / 8.649 GB, free: 13.22 MB / 1.526 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02581/33.68, allocations: 8.497 MB / 8.658 GB, free: 12.76 MB / 1.526 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.172e-05/33.68, allocations: 57.78 kB / 8.658 GB, free: 12.75 MB / 1.526 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/33.68, allocations: 4 kB / 8.658 GB, free: 12.75 MB / 1.526 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01284/33.69, allocations: 6.372 MB / 8.664 GB, free: 12.55 MB / 1.526 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 postOpt removeSimpleEquations (simulation): time 0.0623/33.75, allocations: 20.57 MB / 8.684 GB, free: 7.285 MB / 1.526 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/33.75, allocations: 2.656 kB / 8.684 GB, free: 7.285 MB / 1.526 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006091/33.76, allocations: 1.146 MB / 8.685 GB, free: 7.199 MB / 1.526 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/33.76, allocations: 0.7001 MB / 8.686 GB, free: 6.988 MB / 1.526 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00117/33.76, allocations: 83.33 kB / 8.686 GB, free: 6.969 MB / 1.526 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/33.77, allocations: 4.743 MB / 8.69 GB, free: 18.93 MB / 1.542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/33.77, allocations: 3.5 kB / 8.69 GB, free: 18.93 MB / 1.542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02901/33.8, allocations: 12.91 MB / 8.703 GB, free: 12.84 MB / 1.542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01423/33.81, allocations: 2.86 MB / 8.706 GB, free: 10.99 MB / 1.542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006327/33.82, allocations: 14.08 kB / 8.706 GB, free: 10.99 MB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01546/33.83, allocations: 1.023 MB / 8.707 GB, free: 10.86 MB / 1.542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001581/33.83, allocations: 286.6 kB / 8.707 GB, free: 10.82 MB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001224/33.84, allocations: 201.9 kB / 8.707 GB, free: 10.79 MB / 1.542 GB Notification: Performance of sorting global known variables: time 0.02858/33.86, allocations: 8.01 MB / 8.715 GB, free: 7.574 MB / 1.542 GB Notification: Performance of sort global known variables: time 1.012e-06/33.86, allocations: 10.75 kB / 8.715 GB, free: 7.566 MB / 1.542 GB Notification: Performance of remove unused functions: time 0.05709/33.92, allocations: 6.429 MB / 8.721 GB, free: 6.355 MB / 1.542 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) * 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.05249/33.97, allocations: 20.99 MB / 8.742 GB, free: 11.35 MB / 1.557 GB Notification: Performance of simCode: created initialization part: time 0.03046/34, allocations: 13.21 MB / 8.755 GB, free: 5.98 MB / 1.557 GB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/34, allocations: 3.906 kB / 8.755 GB, free: 5.98 MB / 1.557 GB Notification: Performance of simCode: created simulation system equations: time 0.008931/34.01, allocations: 3.52 MB / 8.758 GB, free: 4.547 MB / 1.557 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03704/34.05, allocations: 6.228 MB / 8.764 GB, free: 2.289 MB / 1.557 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0753/34.13, allocations: 23.39 MB / 8.787 GB, free: 14.77 MB / 1.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01575/34.14, allocations: 7.121 MB / 8.794 GB, free: 9.758 MB / 1.589 GB Notification: Performance of simCode: alias equations: time 0.03501/34.18, allocations: 5.093 MB / 8.799 GB, free: 6.395 MB / 1.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01731/34.19, allocations: 5.795 MB / 8.805 GB, free: 1.043 MB / 1.589 GB Notification: Performance of SimCode: time 9.01e-07/34.19, allocations: 0 / 8.805 GB, free: 1.043 MB / 1.589 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.337/37.53, allocations: 364.8 MB / 9.161 GB, free: 139.7 MB / 1.589 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/37.53, allocations: 237.1 kB / 9.161 GB, free: 139.4 MB / 1.589 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.04/60.57, allocations: 0 / 9.161 GB, free: 139.4 MB / 1.589 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