Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.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.NonIntegrated,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_NonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_NonIntegrated",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.291/2.291, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001666/0.001666, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.723/1.723, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.0009719/0.0009722, allocations: 85.7 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.728e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3518, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.899, allocations: 0.4926 GB / 1.699 GB, free: 15.1 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.899, allocations: 109 kB / 1.699 GB, free: 15.04 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 24.78/26.68, allocations: 5.865 GB / 7.563 GB, free: 55.46 MB / 1.432 GB Notification: Performance of FrontEnd: time 1.914e-06/26.68, allocations: 0 / 7.563 GB, free: 55.46 MB / 1.432 GB Notification: Performance of Transformations before backend: time 0.003775/26.68, allocations: 313.8 kB / 7.564 GB, free: 55.37 MB / 1.432 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1624 * Number of variables: 1624 Notification: Performance of Generate backend data structure: time 0.05344/26.74, allocations: 11.31 MB / 7.575 GB, free: 49.14 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/26.74, allocations: 7.75 kB / 7.575 GB, free: 49.14 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/26.76, allocations: 3.335 MB / 7.578 GB, free: 45.89 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05505/26.82, allocations: 17.21 MB / 7.595 GB, free: 28.62 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002215/26.82, allocations: 0.6632 MB / 7.595 GB, free: 27.93 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004745/26.82, allocations: 436 kB / 7.596 GB, free: 27.51 MB / 1.432 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02373/26.85, allocations: 8.627 MB / 7.604 GB, free: 18.87 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03694/26.88, allocations: 8.368 MB / 7.612 GB, free: 10.26 MB / 1.432 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004926/26.88, allocations: 15.84 kB / 7.613 GB, free: 10.25 MB / 1.432 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003392/26.89, allocations: 8 kB / 7.613 GB, free: 10.24 MB / 1.432 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/26.89, allocations: 236.3 kB / 7.613 GB, free: 10 MB / 1.432 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 1.771/28.66, allocations: 52.07 MB / 7.664 GB, free: 84.06 MB / 1.464 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01584/28.67, allocations: 6.599 MB / 7.67 GB, free: 82.99 MB / 1.464 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006877/28.68, allocations: 3.349 MB / 7.673 GB, free: 82.97 MB / 1.464 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002528/28.68, allocations: 2.938 MB / 7.676 GB, free: 79.78 MB / 1.464 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00744/28.69, allocations: 3.485 MB / 7.68 GB, free: 79.64 MB / 1.464 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01479/28.71, allocations: 1.814 MB / 7.681 GB, free: 79.64 MB / 1.464 GB Notification: Performance of pre-optimization done (n=369): time 5.449e-05/28.71, allocations: 1.812 kB / 7.681 GB, free: 79.64 MB / 1.464 GB Notification: Performance of matching and sorting (n=369): time 0.02584/28.73, allocations: 7.137 MB / 7.688 GB, free: 79.5 MB / 1.464 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002226/28.73, allocations: 0.5255 MB / 7.689 GB, free: 78.9 MB / 1.464 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03847/28.77, allocations: 9.808 MB / 7.698 GB, free: 78.38 MB / 1.464 GB Notification: Performance of collectPreVariables (initialization): time 0.002586/28.77, allocations: 36.45 kB / 7.698 GB, free: 78.34 MB / 1.464 GB Notification: Performance of collectInitialEqns (initialization): time 0.01175/28.79, allocations: 5.605 MB / 7.704 GB, free: 77.43 MB / 1.464 GB Notification: Performance of collectInitialBindings (initialization): time 0.003259/28.79, allocations: 1.225 MB / 7.705 GB, free: 76.79 MB / 1.464 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/28.79, allocations: 2.484 kB / 7.705 GB, free: 76.79 MB / 1.464 GB Notification: Performance of setup shared object (initialization): time 0.0006622/28.79, allocations: 0.5086 MB / 7.706 GB, free: 76.48 MB / 1.464 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/28.8, allocations: 3.401 MB / 7.709 GB, free: 76.46 MB / 1.464 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008788/28.81, allocations: 5.355 MB / 7.714 GB, free: 74.33 MB / 1.464 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/28.82, allocations: 4.122 MB / 7.718 GB, free: 74.27 MB / 1.464 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/28.82, allocations: 7.906 kB / 7.718 GB, free: 74.27 MB / 1.464 GB Notification: Performance of matching and sorting (n=679) (initialization): time 0.03226/28.85, allocations: 9.521 MB / 7.727 GB, free: 73.57 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 0.005695/28.86, allocations: 20.65 MB / 7.748 GB, free: 52.39 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002487/28.86, allocations: 44.02 kB / 7.748 GB, free: 52.39 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007732/28.86, allocations: 226.9 kB / 7.748 GB, free: 52.37 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/28.87, allocations: 1.797 MB / 7.75 GB, free: 52.37 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/28.87, allocations: 5.366 MB / 7.755 GB, free: 47.81 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01725/28.89, allocations: 0.9599 MB / 7.756 GB, free: 47.78 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002943/28.89, allocations: 303.7 kB / 7.756 GB, free: 47.78 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/28.89, allocations: 6.25 kB / 7.756 GB, free: 47.78 MB / 1.464 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02668/28.92, allocations: 8.275 MB / 7.764 GB, free: 47.66 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002707/28.92, allocations: 41.78 kB / 7.764 GB, free: 47.66 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00096/28.92, allocations: 243.5 kB / 7.764 GB, free: 47.65 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009513/28.93, allocations: 1.687 MB / 7.766 GB, free: 47.65 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004844/28.93, allocations: 3.936 MB / 7.77 GB, free: 45.1 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/28.95, allocations: 0.9493 MB / 7.771 GB, free: 45.07 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002819/28.95, allocations: 300.3 kB / 7.771 GB, free: 45.07 MB / 1.464 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition3,nonIntWSE2.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,nonIntWSE1.on[1],nonIntWSE1.on[2],nonIntWSE1.wse.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (654): * Single equations (assignments): 637 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,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 {3 4,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.004854/28.96, allocations: 293.8 kB / 7.771 GB, free: 44.93 MB / 1.464 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02455/28.98, allocations: 6.947 MB / 7.778 GB, free: 44.21 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006375/28.99, allocations: 1.045 MB / 7.779 GB, free: 43.64 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02878/29.02, allocations: 7.965 MB / 7.787 GB, free: 43.33 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/29.02, allocations: 51.27 kB / 7.787 GB, free: 43.33 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.77e-05/29.02, allocations: 0 / 7.787 GB, free: 43.33 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0174/29.04, allocations: 6.091 MB / 7.793 GB, free: 43.06 MB / 1.464 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.07043/29.11, allocations: 19 MB / 7.812 GB, free: 41.49 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/29.11, allocations: 5.594 kB / 7.812 GB, free: 41.49 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006843/29.11, allocations: 1.161 MB / 7.813 GB, free: 41.48 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004663/29.11, allocations: 150.9 kB / 7.813 GB, free: 41.47 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/29.12, allocations: 91.72 kB / 7.813 GB, free: 41.47 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/29.12, allocations: 5.023 MB / 7.818 GB, free: 36.92 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/29.12, allocations: 7.25 kB / 7.818 GB, free: 36.92 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03116/29.15, allocations: 12.25 MB / 7.83 GB, free: 35.32 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0124/29.16, allocations: 2.676 MB / 7.832 GB, free: 34.45 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007894/29.17, allocations: 31.31 kB / 7.832 GB, free: 34.45 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01484/29.18, allocations: 0.89 MB / 7.833 GB, free: 34.43 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0017/29.19, allocations: 257.8 kB / 7.834 GB, free: 34.42 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001742/29.19, allocations: 192.5 kB / 7.834 GB, free: 34.42 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.02655/29.21, allocations: 7.396 MB / 7.841 GB, free: 34.1 MB / 1.464 GB Notification: Performance of sort global known variables: time 1.192e-06/29.21, allocations: 2.094 kB / 7.841 GB, free: 34.1 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.04321/29.26, allocations: 5.664 MB / 7.847 GB, free: 33.84 MB / 1.464 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (TSup1.T,nonIntWSE1.chiPar.chi[1].vol1.dynBal.U,nonIntWSE1.chiPar.chi[1].vol2.dynBal.U,nonIntWSE1.chiPar.filter[1].x[1],nonIntWSE1.chiPar.filter[1].x[2],nonIntWSE1.wse.heaExc.thrWayVal.vol.dynBal.U,nonIntWSE1.wse.heaExc.thrWayVal.filter.s[1],nonIntWSE1.wse.heaExc.thrWayVal.filter.s[2],nonIntWSE1.wse.heaExc.con.I.y,nonIntWSE1.wse.filter[1].x[1],nonIntWSE1.wse.filter[1].x[2],nonIntWSE1.senTem.T,nonIntWSE2.chiPar.chi[1].vol1.dynBal.U,nonIntWSE2.chiPar.chi[1].vol2.dynBal.U,nonIntWSE2.chiPar.filter[1].x[1],nonIntWSE2.chiPar.filter[1].x[2],nonIntWSE2.wse.heaExc.thrWayVal.vol.dynBal.U,nonIntWSE2.wse.heaExc.thrWayVal.filter.s[1],nonIntWSE2.wse.heaExc.thrWayVal.filter.s[2],nonIntWSE2.wse.heaExc.con.I.y,nonIntWSE2.wse.filter[1].x[1],nonIntWSE2.wse.filter[1].x[2],nonIntWSE2.senTem.T,TSup2.T) * Number of discrete variables: 12 (nonIntWSE2.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,nonIntWSE1.on[1],nonIntWSE1.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 (418): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,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 {3 4,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.05323/29.31, allocations: 19.14 MB / 7.865 GB, free: 28.68 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 0.03499/29.35, allocations: 13 MB / 7.878 GB, free: 27.96 MB / 1.464 GB Notification: Performance of simCode: created event and clocks part: time 1.996e-05/29.35, allocations: 2.812 kB / 7.878 GB, free: 27.96 MB / 1.464 GB Notification: Performance of simCode: created simulation system equations: time 0.008715/29.36, allocations: 3.404 MB / 7.881 GB, free: 27.89 MB / 1.464 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03874/29.39, allocations: 5.524 MB / 7.887 GB, free: 27.82 MB / 1.464 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1011/29.5, allocations: 22.08 MB / 7.908 GB, free: 23.69 MB / 1.464 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01826/29.51, allocations: 6.686 MB / 7.915 GB, free: 22.69 MB / 1.464 GB Notification: Performance of simCode: alias equations: time 0.03727/29.55, allocations: 5.006 MB / 7.92 GB, free: 22.59 MB / 1.464 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01734/29.57, allocations: 5.215 MB / 7.925 GB, free: 22.58 MB / 1.464 GB Notification: Performance of SimCode: time 2.174e-06/29.57, allocations: 0 / 7.925 GB, free: 22.58 MB / 1.464 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.291/31.86, allocations: 328.5 MB / 8.246 GB, free: 139.7 MB / 1.542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/31.86, allocations: 210.9 kB / 8.246 GB, free: 139.4 MB / 1.542 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.05/54.91, allocations: 1.188 kB / 8.246 GB, free: 139.4 MB / 1.542 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_NonIntegrated_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_NonIntegrated.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.NonIntegrated_res.mat does not exist to compare? outputFormat=mat