Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",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.18/2.18, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001119/0.001119, allocations: 184.2 kB / 498.1 MB, free: 5.676 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.593/1.593, allocations: 223.1 MB / 0.7948 GB, free: 18.85 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.001017/0.001016, allocations: 100.3 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 8.859 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3407, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.568, allocations: 459.2 MB / 1.671 GB, free: 7.191 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.568, allocations: 98.19 kB / 1.671 GB, free: 7.137 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.962/6.531, allocations: 1.376 GB / 3.048 GB, free: 135.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.515e-06/6.531, allocations: 4 kB / 3.048 GB, free: 135.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001197/6.532, allocations: 99.91 kB / 3.048 GB, free: 135.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.01753/6.55, allocations: 4.575 MB / 3.052 GB, free: 130.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/6.55, allocations: 8.031 kB / 3.052 GB, free: 130.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001825/6.552, allocations: 302.9 kB / 3.052 GB, free: 130.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/6.564, allocations: 1.914 MB / 3.054 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/6.58, allocations: 5.485 MB / 3.06 GB, free: 123.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005991/6.58, allocations: 339.3 kB / 3.06 GB, free: 122.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/6.582, allocations: 239.8 kB / 3.06 GB, free: 122.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/6.594, allocations: 4.452 MB / 3.065 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/6.594, allocations: 7.922 kB / 3.065 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008429/6.595, allocations: 87.94 kB / 3.065 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.786e-05/6.595, allocations: 56 kB / 3.065 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/6.609, allocations: 5.6 MB / 3.07 GB, free: 112.2 MB / 1.167 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.03312/6.642, allocations: 15.93 MB / 3.086 GB, free: 95.64 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/6.653, allocations: 4.285 MB / 3.09 GB, free: 91.33 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/6.654, allocations: 1.26 MB / 3.091 GB, free: 89.79 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00488/6.659, allocations: 2.374 MB / 3.093 GB, free: 87.41 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003291/6.662, allocations: 429.9 kB / 3.094 GB, free: 86.98 MB / 1.167 GB Notification: Performance of pre-optimization done (n=154): time 1.165e-05/6.662, allocations: 0 / 3.094 GB, free: 86.98 MB / 1.167 GB Notification: Performance of matching and sorting (n=154): time 0.01496/6.677, allocations: 6.714 MB / 3.1 GB, free: 80.21 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/6.677, allocations: 230.9 kB / 3.101 GB, free: 79.94 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005958/6.683, allocations: 3.843 MB / 3.104 GB, free: 76.08 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006679/6.684, allocations: 65.7 kB / 3.104 GB, free: 76.01 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/6.685, allocations: 1.585 MB / 3.106 GB, free: 74.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007378/6.686, allocations: 0.5276 MB / 3.106 GB, free: 73.87 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/6.686, allocations: 40 kB / 3.107 GB, free: 73.83 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000131/6.686, allocations: 381.9 kB / 3.107 GB, free: 73.45 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/6.69, allocations: 2.185 MB / 3.109 GB, free: 71.26 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004413/6.695, allocations: 2.854 MB / 3.112 GB, free: 68.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/6.699, allocations: 2.262 MB / 3.114 GB, free: 65.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/6.699, allocations: 4 kB / 3.114 GB, free: 65.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01029/6.709, allocations: 5.239 MB / 3.119 GB, free: 60.63 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007586/6.71, allocations: 3.916 MB / 3.123 GB, free: 56.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/6.71, allocations: 23.92 kB / 3.123 GB, free: 56.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004228/6.71, allocations: 181.3 kB / 3.123 GB, free: 56.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/6.714, allocations: 0.7722 MB / 3.124 GB, free: 55.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/6.715, allocations: 1.358 MB / 3.125 GB, free: 54.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/6.72, allocations: 0.5771 MB / 3.126 GB, free: 53.49 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005133/6.721, allocations: 119.9 kB / 3.126 GB, free: 53.38 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/6.721, allocations: 7.953 kB / 3.126 GB, free: 53.37 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00941/6.73, allocations: 4.902 MB / 3.131 GB, free: 48.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/6.73, allocations: 12 kB / 3.131 GB, free: 48.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005153/6.731, allocations: 181.5 kB / 3.131 GB, free: 48.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/6.734, allocations: 0.7762 MB / 3.132 GB, free: 47.48 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/6.738, allocations: 3.707 MB / 3.135 GB, free: 43.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/6.743, allocations: 0.5693 MB / 3.136 GB, free: 42.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004753/6.744, allocations: 115.9 kB / 3.136 GB, free: 42.81 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,chiPar.on[1],$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 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.003382/6.747, allocations: 1.399 MB / 3.137 GB, free: 41.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/6.748, allocations: 375.4 kB / 3.138 GB, free: 41.03 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/6.759, allocations: 5.001 MB / 3.143 GB, free: 36 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/6.759, allocations: 16 kB / 3.143 GB, free: 35.99 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.759, allocations: 4 kB / 3.143 GB, free: 35.98 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007915/6.767, allocations: 4.363 MB / 3.147 GB, free: 31.57 MB / 1.167 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.01864/6.785, allocations: 9.189 MB / 3.156 GB, free: 22.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/6.786, allocations: 3.812 kB / 3.156 GB, free: 22.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002828/6.788, allocations: 0.6281 MB / 3.156 GB, free: 21.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/6.789, allocations: 157.5 kB / 3.157 GB, free: 21.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002159/6.789, allocations: 59.94 kB / 3.157 GB, free: 21.44 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000747/6.79, allocations: 1.308 MB / 3.158 GB, free: 20.08 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.79, allocations: 4.031 kB / 3.158 GB, free: 20.07 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/6.804, allocations: 7.886 MB / 3.166 GB, free: 12.07 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003608/6.808, allocations: 1.158 MB / 3.167 GB, free: 10.85 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/6.809, allocations: 43.98 kB / 3.167 GB, free: 10.81 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/6.813, allocations: 0.4991 MB / 3.167 GB, free: 10.31 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/6.813, allocations: 117.1 kB / 3.167 GB, free: 10.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/6.813, allocations: 91.94 kB / 3.167 GB, free: 10.11 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005044/6.818, allocations: 2.999 MB / 3.17 GB, free: 7.094 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.818, allocations: 3.938 kB / 3.17 GB, free: 7.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007548/6.826, allocations: 1.939 MB / 3.172 GB, free: 5.148 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U,chiPar.filter[1].x[1],chiPar.filter[1].x[2],chiPar.filter[2].x[1],chiPar.filter[2].x[2]) * Number of discrete variables: 4 ($whenCondition1,chiPar.on[1],pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 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.01697/6.843, allocations: 9.817 MB / 3.182 GB, free: 11.29 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01756/6.86, allocations: 7.842 MB / 3.19 GB, free: 3.371 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/6.86, allocations: 0 / 3.19 GB, free: 3.371 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005253/6.866, allocations: 2.319 MB / 3.192 GB, free: 1.047 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.67/7.536, allocations: 2.08 MB / 3.194 GB, free: 199.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/7.566, allocations: 17.86 MB / 3.211 GB, free: 189.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004959/7.571, allocations: 2.988 MB / 3.214 GB, free: 189.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.009993/7.581, allocations: 1.799 MB / 3.216 GB, free: 189.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003974/7.585, allocations: 1.507 MB / 3.217 GB, free: 189.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.473e-06/7.585, allocations: 2 kB / 3.217 GB, free: 189.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2041/7.789, allocations: 122.6 MB / 3.337 GB, free: 184.5 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/7.79, allocations: 291.6 kB / 3.337 GB, free: 184.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.345/14.13, allocations: 4 kB / 3.337 GB, free: 184.1 MB / 1.182 GB (rm -f Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.fmu > Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat does not exist to compare? outputFormat=mat