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.546/2.546, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001186/0.001186, allocations: 168.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001234/0.001234, allocations: 83.91 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.227e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2762, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.567, allocations: 461.2 MB / 1.669 GB, free: 5.168 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/1.567, allocations: 99.86 kB / 1.669 GB, free: 5.07 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.659/8.226, allocations: 1.366 GB / 3.035 GB, free: 197.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 5.13e-06/8.226, allocations: 1.641 kB / 3.035 GB, free: 197.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001181/8.228, allocations: 96.7 kB / 3.036 GB, free: 197.5 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.01726/8.245, allocations: 3.49 MB / 3.039 GB, free: 196.6 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.549e-05/8.245, allocations: 9.688 kB / 3.039 GB, free: 196.6 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001895/8.247, allocations: 297.6 kB / 3.039 GB, free: 196.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/8.26, allocations: 1.788 MB / 3.041 GB, free: 196.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/8.283, allocations: 5.284 MB / 3.046 GB, free: 195.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/8.285, allocations: 337.7 kB / 3.046 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/8.287, allocations: 223.1 kB / 3.047 GB, free: 195.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/8.303, allocations: 3.904 MB / 3.05 GB, free: 195.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/8.303, allocations: 15.39 kB / 3.05 GB, free: 195.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005373/8.303, allocations: 86.89 kB / 3.051 GB, free: 195.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/8.304, allocations: 57.77 kB / 3.051 GB, free: 195.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/8.315, allocations: 4.656 MB / 3.055 GB, free: 195.5 MB / 1.182 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.03286/8.348, allocations: 15.95 MB / 3.071 GB, free: 190.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009098/8.357, allocations: 3.437 MB / 3.074 GB, free: 190.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/8.36, allocations: 1.69 MB / 3.076 GB, free: 190.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/8.361, allocations: 1.262 MB / 3.077 GB, free: 189.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002575/8.364, allocations: 1.751 MB / 3.079 GB, free: 189.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003702/8.367, allocations: 416.3 kB / 3.079 GB, free: 189.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=148): time 7.314e-06/8.368, allocations: 0 / 3.079 GB, free: 189.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=148): time 0.005932/8.373, allocations: 3.203 MB / 3.082 GB, free: 188.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/8.374, allocations: 70.22 kB / 3.082 GB, free: 188.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006536/8.38, allocations: 3.69 MB / 3.086 GB, free: 188.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006493/8.381, allocations: 68.42 kB / 3.086 GB, free: 188.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001719/8.382, allocations: 1.531 MB / 3.087 GB, free: 188.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007859/8.383, allocations: 0.5067 MB / 3.088 GB, free: 187.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/8.383, allocations: 32.12 kB / 3.088 GB, free: 187.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001485/8.384, allocations: 378.5 kB / 3.088 GB, free: 187.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/8.386, allocations: 1.514 MB / 3.09 GB, free: 187.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/8.388, allocations: 2.147 MB / 3.092 GB, free: 186.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002186/8.39, allocations: 1.592 MB / 3.093 GB, free: 186.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/8.391, allocations: 3.938 kB / 3.093 GB, free: 186.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00684/8.397, allocations: 3.889 MB / 3.097 GB, free: 186.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/8.398, allocations: 4.093 MB / 3.101 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/8.399, allocations: 10.41 kB / 3.101 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/8.399, allocations: 170 kB / 3.101 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003204/8.402, allocations: 0.7292 MB / 3.102 GB, free: 182.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/8.404, allocations: 1.368 MB / 3.103 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/8.409, allocations: 0.5654 MB / 3.104 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003146/8.41, allocations: 115 kB / 3.104 GB, free: 181.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/8.41, allocations: 3.625 kB / 3.104 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005405/8.415, allocations: 3.558 MB / 3.108 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/8.415, allocations: 10.53 kB / 3.108 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/8.416, allocations: 185.4 kB / 3.108 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/8.419, allocations: 0.7284 MB / 3.109 GB, free: 181.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/8.422, allocations: 3.649 MB / 3.112 GB, free: 178.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005862/8.428, allocations: 0.5647 MB / 3.113 GB, free: 178.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/8.429, allocations: 108.5 kB / 3.113 GB, free: 178.4 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 () * 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.0008095/8.429, allocations: 220.3 kB / 3.113 GB, free: 178.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/8.431, allocations: 348.6 kB / 3.113 GB, free: 178.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/8.437, allocations: 3.751 MB / 3.117 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/8.437, allocations: 18.41 kB / 3.117 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/8.437, allocations: 6.781 kB / 3.117 GB, free: 177.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004096/8.441, allocations: 3.128 MB / 3.12 GB, free: 177.6 MB / 1.182 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.0156/8.457, allocations: 7.866 MB / 3.128 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/8.457, allocations: 4.969 kB / 3.128 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002662/8.46, allocations: 0.605 MB / 3.128 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003887/8.46, allocations: 156.8 kB / 3.128 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/8.46, allocations: 52.2 kB / 3.128 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/8.461, allocations: 1.307 MB / 3.13 GB, free: 176 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/8.461, allocations: 7.125 kB / 3.13 GB, free: 176 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008739/8.47, allocations: 5.981 MB / 3.136 GB, free: 175.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/8.474, allocations: 1.141 MB / 3.137 GB, free: 174.8 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/8.476, allocations: 34.59 kB / 3.137 GB, free: 174.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/8.48, allocations: 0.4944 MB / 3.137 GB, free: 174.8 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003511/8.48, allocations: 122.4 kB / 3.137 GB, free: 174.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/8.481, allocations: 91.09 kB / 3.137 GB, free: 174.8 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.005898/8.487, allocations: 2.87 MB / 3.14 GB, free: 174.6 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.01e-07/8.487, allocations: 0 / 3.14 GB, free: 174.6 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008779/8.495, allocations: 1.878 MB / 3.142 GB, free: 174.5 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) * 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.01059/8.506, allocations: 7.883 MB / 3.15 GB, free: 172.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.009674/8.516, allocations: 5.874 MB / 3.156 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/8.516, allocations: 3.125 kB / 3.156 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00269/8.519, allocations: 1.694 MB / 3.157 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/8.532, allocations: 2.059 MB / 3.159 GB, free: 172.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/8.556, allocations: 8.586 MB / 3.168 GB, free: 170.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/8.559, allocations: 2.906 MB / 3.17 GB, free: 170 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01088/8.57, allocations: 3.06 MB / 3.173 GB, free: 170 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/8.573, allocations: 1.367 MB / 3.175 GB, free: 170 MB / 1.182 GB Notification: Performance of SimCode: time 1.373e-06/8.573, allocations: 0 / 3.175 GB, free: 170 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2299/8.803, allocations: 125.8 MB / 3.298 GB, free: 143.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/8.803, allocations: 257.3 kB / 3.298 GB, free: 142.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/16.02, allocations: 0 / 3.298 GB, free: 142.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