Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.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.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.439/2.439, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001293/0.001293, allocations: 191.5 kB / 0.4901 GB, free: 2.215 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.807/1.807, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.001107/0.001107, allocations: 104.2 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003571, allocations: 12.98 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3194, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.603, allocations: 461.2 MB / 1.68 GB, free: 13.57 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/1.604, allocations: 102.4 kB / 1.68 GB, free: 13.52 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.946/6.55, allocations: 1.37 GB / 3.05 GB, free: 154.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.124e-06/6.55, allocations: 0 / 3.05 GB, free: 154.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0008854/6.551, allocations: 99.84 kB / 3.05 GB, free: 154.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01625/6.567, allocations: 4.376 MB / 3.054 GB, free: 149.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/6.567, allocations: 16.02 kB / 3.054 GB, free: 149.7 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001414/6.569, allocations: 302.6 kB / 3.055 GB, free: 149.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/6.581, allocations: 1.786 MB / 3.057 GB, free: 147.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/6.594, allocations: 5.345 MB / 3.062 GB, free: 142.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004533/6.595, allocations: 339.3 kB / 3.062 GB, free: 141.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008377/6.595, allocations: 228 kB / 3.062 GB, free: 141.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009034/6.605, allocations: 4.413 MB / 3.067 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.596e-05/6.605, allocations: 7.984 kB / 3.067 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003268/6.605, allocations: 76 kB / 3.067 GB, free: 137.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/6.605, allocations: 63.89 kB / 3.067 GB, free: 137.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/6.617, allocations: 5.764 MB / 3.072 GB, free: 131.3 MB / 1.182 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.02737/6.644, allocations: 15.95 MB / 3.088 GB, free: 114.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009734/6.654, allocations: 4.149 MB / 3.092 GB, free: 110.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008121/6.655, allocations: 1.263 MB / 3.093 GB, free: 109 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004577/6.659, allocations: 2.319 MB / 3.095 GB, free: 106.7 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003337/6.663, allocations: 418.2 kB / 3.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=148): time 6.443e-06/6.663, allocations: 0 / 3.096 GB, free: 106.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=148): time 0.01407/6.677, allocations: 6.561 MB / 3.102 GB, free: 99.64 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/6.677, allocations: 72.72 kB / 3.102 GB, free: 99.56 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006176/6.683, allocations: 3.716 MB / 3.106 GB, free: 95.87 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006826/6.684, allocations: 61.7 kB / 3.106 GB, free: 95.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/6.685, allocations: 1.543 MB / 3.108 GB, free: 94.24 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007002/6.686, allocations: 0.5045 MB / 3.108 GB, free: 93.73 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/6.686, allocations: 40 kB / 3.108 GB, free: 93.69 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001179/6.686, allocations: 373.9 kB / 3.108 GB, free: 93.32 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/6.69, allocations: 2.088 MB / 3.11 GB, free: 91.23 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/6.694, allocations: 2.725 MB / 3.113 GB, free: 88.28 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/6.698, allocations: 2.153 MB / 3.115 GB, free: 86.12 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/6.698, allocations: 4 kB / 3.115 GB, free: 86.12 MB / 1.182 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01008/6.708, allocations: 5.016 MB / 3.12 GB, free: 81.07 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001024/6.71, allocations: 4.087 MB / 3.124 GB, free: 76.69 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/6.71, allocations: 12 kB / 3.124 GB, free: 76.68 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/6.71, allocations: 173.5 kB / 3.124 GB, free: 76.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003329/6.713, allocations: 0.7371 MB / 3.125 GB, free: 75.76 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/6.715, allocations: 1.358 MB / 3.126 GB, free: 74.35 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/6.72, allocations: 0.5615 MB / 3.127 GB, free: 73.79 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/6.72, allocations: 123.9 kB / 3.127 GB, free: 73.67 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/6.72, allocations: 4 kB / 3.127 GB, free: 73.66 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009133/6.73, allocations: 4.69 MB / 3.132 GB, free: 68.96 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/6.73, allocations: 8 kB / 3.132 GB, free: 68.95 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/6.73, allocations: 194.1 kB / 3.132 GB, free: 68.76 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/6.734, allocations: 0.7332 MB / 3.133 GB, free: 68.02 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/6.738, allocations: 3.702 MB / 3.136 GB, free: 64.05 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/6.744, allocations: 0.5537 MB / 3.137 GB, free: 63.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007076/6.744, allocations: 115.9 kB / 3.137 GB, free: 63.38 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 (chiPar.chi[1].tru.y,chiPar.chi[2].tru.y,$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 (208): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.003335/6.748, allocations: 1.356 MB / 3.138 GB, free: 62.02 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/6.749, allocations: 351.1 kB / 3.138 GB, free: 61.67 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009982/6.759, allocations: 4.88 MB / 3.143 GB, free: 56.78 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/6.759, allocations: 16 kB / 3.143 GB, free: 56.76 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/6.759, allocations: 4 kB / 3.143 GB, free: 56.76 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008176/6.767, allocations: 4.269 MB / 3.147 GB, free: 52.43 MB / 1.182 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.0185/6.786, allocations: 8.98 MB / 3.156 GB, free: 43.37 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/6.786, allocations: 7.953 kB / 3.156 GB, free: 43.36 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/6.788, allocations: 0.601 MB / 3.157 GB, free: 42.76 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003312/6.789, allocations: 169.3 kB / 3.157 GB, free: 42.59 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/6.789, allocations: 59.95 kB / 3.157 GB, free: 42.53 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008413/6.79, allocations: 1.309 MB / 3.158 GB, free: 41.17 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/6.79, allocations: 4 kB / 3.158 GB, free: 41.16 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/6.804, allocations: 7.676 MB / 3.166 GB, free: 33.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003328/6.807, allocations: 1.15 MB / 3.167 GB, free: 32.19 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/6.808, allocations: 32 kB / 3.167 GB, free: 32.16 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/6.812, allocations: 0.4913 MB / 3.167 GB, free: 31.67 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/6.812, allocations: 113.1 kB / 3.168 GB, free: 31.56 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/6.812, allocations: 95.92 kB / 3.168 GB, free: 31.46 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004346/6.816, allocations: 2.909 MB / 3.17 GB, free: 28.57 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.7e-07/6.816, allocations: 3.938 kB / 3.17 GB, free: 28.57 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006348/6.823, allocations: 1.868 MB / 3.172 GB, free: 26.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (chiPar.chi[1].vol1.dynBal.U,chiPar.chi[1].vol2.dynBal.U,chiPar.chi[2].vol1.dynBal.U,chiPar.chi[2].vol2.dynBal.U) * 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 (156): * Single equations (assignments): 144 * 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.0149/6.838, allocations: 9.566 MB / 3.182 GB, free: 17.12 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01392/6.852, allocations: 7.456 MB / 3.189 GB, free: 9.617 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/6.852, allocations: 4 kB / 3.189 GB, free: 9.613 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004355/6.856, allocations: 2.261 MB / 3.191 GB, free: 7.352 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/6.867, allocations: 2.028 MB / 3.193 GB, free: 5.426 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7033/7.57, allocations: 21.71 MB / 3.214 GB, free: 185.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/7.574, allocations: 2.903 MB / 3.217 GB, free: 184.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.007092/7.581, allocations: 1.773 MB / 3.219 GB, free: 184.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/7.584, allocations: 1.433 MB / 3.22 GB, free: 184.4 MB / 1.182 GB Notification: Performance of SimCode: time 7.825e-06/7.584, allocations: 1.031 kB / 3.22 GB, free: 184.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1784/7.762, allocations: 118.5 MB / 3.336 GB, free: 180.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/7.763, allocations: 287 kB / 3.336 GB, free: 179.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.39/14.15, allocations: 2.672 kB / 3.336 GB, free: 179.9 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_BaseClasses_Equipment_Validation_ElectricChillerParallel.fmu > Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.BaseClasses.Equipment.Validation.ElectricChillerParallel_res.mat does not exist to compare? outputFormat=mat