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.4/2.4, allocations: 390.5 MB / 398 MB, free: 10.93 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.001285/0.001285, allocations: 179.8 kB / 491.2 MB, free: 1.59 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.616/1.616, 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.0008723/0.0008724, allocations: 94.44 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.857e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.365/1.672, allocations: 460.5 MB / 1.662 GB, free: 2.594 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/1.673, allocations: 97.69 kB / 1.662 GB, free: 2.543 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 5.598/7.27, allocations: 1.361 GB / 3.023 GB, free: 56.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/7.27, allocations: 7.938 kB / 3.023 GB, free: 56.69 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009965/7.271, allocations: 95.91 kB / 3.023 GB, free: 56.59 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01361/7.285, allocations: 3.487 MB / 3.026 GB, free: 53.05 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/7.285, allocations: 8.031 kB / 3.026 GB, free: 53.04 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/7.297, allocations: 1.797 MB / 3.028 GB, free: 51.24 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/7.313, allocations: 5.284 MB / 3.033 GB, free: 45.89 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006119/7.313, allocations: 254.6 kB / 3.033 GB, free: 45.62 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/7.315, allocations: 135.9 kB / 3.033 GB, free: 45.49 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009297/7.324, allocations: 4.575 MB / 3.038 GB, free: 40.91 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009108/7.333, allocations: 3.348 MB / 3.041 GB, free: 37.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/7.334, allocations: 4 kB / 3.041 GB, free: 37.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007822/7.334, allocations: 4 kB / 3.041 GB, free: 37.49 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.563e-05/7.334, allocations: 59.89 kB / 3.041 GB, free: 37.43 MB / 1.167 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.0311/7.366, allocations: 15.54 MB / 3.056 GB, free: 21.27 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00786/7.374, allocations: 3.393 MB / 3.06 GB, free: 17.86 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/7.376, allocations: 1.671 MB / 3.061 GB, free: 16.19 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009865/7.377, allocations: 1.26 MB / 3.063 GB, free: 14.65 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00287/7.38, allocations: 1.704 MB / 3.064 GB, free: 12.93 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003417/7.383, allocations: 362.5 kB / 3.065 GB, free: 12.58 MB / 1.167 GB Notification: Performance of pre-optimization done (n=148): time 1.368e-05/7.383, allocations: 0 / 3.065 GB, free: 12.58 MB / 1.167 GB Notification: Performance of matching and sorting (n=148): time 0.007806/7.391, allocations: 3.274 MB / 3.068 GB, free: 9.285 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/7.391, allocations: 68.72 kB / 3.068 GB, free: 9.203 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008541/7.4, allocations: 3.276 MB / 3.071 GB, free: 5.938 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009215/7.401, allocations: 33.7 kB / 3.071 GB, free: 5.898 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002512/7.403, allocations: 1.557 MB / 3.073 GB, free: 4.316 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/7.405, allocations: 496.6 kB / 3.073 GB, free: 3.824 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005646/7.405, allocations: 0 / 3.073 GB, free: 3.824 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002164/7.406, allocations: 373.9 kB / 3.073 GB, free: 3.453 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/7.408, allocations: 1.511 MB / 3.075 GB, free: 1.941 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/7.411, allocations: 2.11 MB / 3.077 GB, free: 15.61 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/7.415, allocations: 1.624 MB / 3.079 GB, free: 13.98 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/7.415, allocations: 0 / 3.079 GB, free: 13.98 MB / 1.182 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.01073/7.426, allocations: 3.856 MB / 3.082 GB, free: 10.11 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002035/7.428, allocations: 4.047 MB / 3.086 GB, free: 5.711 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.802e-05/7.428, allocations: 8 kB / 3.086 GB, free: 5.703 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/7.428, allocations: 165.6 kB / 3.086 GB, free: 5.535 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/7.432, allocations: 0.7293 MB / 3.087 GB, free: 4.805 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/7.434, allocations: 1.444 MB / 3.089 GB, free: 3.309 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/7.44, allocations: 0.5108 MB / 3.089 GB, free: 2.797 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000982/7.441, allocations: 115.9 kB / 3.089 GB, free: 2.684 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/7.441, allocations: 4 kB / 3.089 GB, free: 2.68 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.116/8.558, allocations: 3.414 MB / 3.093 GB, free: 198.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/8.558, allocations: 9.859 kB / 3.093 GB, free: 198.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/8.559, allocations: 175.2 kB / 3.093 GB, free: 198.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/8.563, allocations: 0.7355 MB / 3.093 GB, free: 198.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/8.566, allocations: 3.527 MB / 3.097 GB, free: 195.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005811/8.572, allocations: 0.5067 MB / 3.097 GB, free: 195.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000871/8.573, allocations: 111.8 kB / 3.098 GB, free: 195.9 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.0007939/8.574, allocations: 152.1 kB / 3.098 GB, free: 195.8 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008061/8.582, allocations: 3.172 MB / 3.101 GB, free: 195.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/8.584, allocations: 327.3 kB / 3.101 GB, free: 195.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008648/8.592, allocations: 3.654 MB / 3.105 GB, free: 195.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/8.592, allocations: 17.92 kB / 3.105 GB, free: 195.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/8.592, allocations: 9.656 kB / 3.105 GB, free: 195.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005892/8.598, allocations: 3.091 MB / 3.108 GB, free: 195.2 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.02059/8.619, allocations: 7.54 MB / 3.115 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/8.619, allocations: 6.703 kB / 3.115 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/8.622, allocations: 0.5988 MB / 3.116 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003725/8.623, allocations: 134 kB / 3.116 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/8.623, allocations: 33.72 kB / 3.116 GB, free: 194.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/8.624, allocations: 1.31 MB / 3.117 GB, free: 193.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/8.624, allocations: 3.094 kB / 3.117 GB, free: 193.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/8.637, allocations: 5.896 MB / 3.123 GB, free: 192.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004472/8.642, allocations: 1.114 MB / 3.124 GB, free: 192.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/8.644, allocations: 10.64 kB / 3.124 GB, free: 192.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005883/8.65, allocations: 486.2 kB / 3.124 GB, free: 192.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/8.651, allocations: 116.8 kB / 3.125 GB, free: 192.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005331/8.651, allocations: 90.03 kB / 3.125 GB, free: 192.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.008775/8.66, allocations: 2.505 MB / 3.127 GB, free: 192.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.21e-07/8.66, allocations: 3.062 kB / 3.127 GB, free: 192.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01426/8.674, allocations: 1.825 MB / 3.129 GB, free: 192.2 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.01697/8.691, allocations: 7.775 MB / 3.136 GB, free: 190.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01169/8.703, allocations: 5.728 MB / 3.142 GB, free: 190.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/8.703, allocations: 0 / 3.142 GB, free: 190.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003315/8.706, allocations: 1.655 MB / 3.144 GB, free: 190.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0148/8.721, allocations: 1.797 MB / 3.145 GB, free: 190.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/8.755, allocations: 8.359 MB / 3.154 GB, free: 188.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005604/8.761, allocations: 2.909 MB / 3.156 GB, free: 188 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01399/8.775, allocations: 2.826 MB / 3.159 GB, free: 188 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004166/8.779, allocations: 1.37 MB / 3.16 GB, free: 188 MB / 1.182 GB Notification: Performance of SimCode: time 2.444e-06/8.779, allocations: 0 / 3.16 GB, free: 188 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2285/9.008, allocations: 105.7 MB / 3.264 GB, free: 184 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/9.008, allocations: 207.3 kB / 3.264 GB, free: 183.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/16.65, allocations: 0 / 3.264 GB, free: 183.7 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