Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",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.403/2.403, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001326/0.001326, allocations: 179.8 kB / 498.1 MB, free: 5.742 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.79/1.79, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008975/0.0008975, allocations: 96.08 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004883, allocations: 6.875 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3443, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.027/6.372, allocations: 2.188 GB / 3.411 GB, free: 298.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/6.372, allocations: 99.94 kB / 3.411 GB, free: 298.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.152/10.52, allocations: 1.05 GB / 4.461 GB, free: 122.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.206e-06/10.52, allocations: 0 / 4.461 GB, free: 122.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003422/10.52, allocations: 43.98 kB / 4.461 GB, free: 122.5 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.01254/10.54, allocations: 2.804 MB / 4.463 GB, free: 119.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/10.54, allocations: 8.031 kB / 4.463 GB, free: 119.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008965/10.54, allocations: 148.2 kB / 4.463 GB, free: 119.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004249/10.54, allocations: 0.509 MB / 4.464 GB, free: 119 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007287/10.55, allocations: 2.07 MB / 4.466 GB, free: 116.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007522/10.55, allocations: 233.4 kB / 4.466 GB, free: 116.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/10.55, allocations: 124 kB / 4.466 GB, free: 116.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/10.56, allocations: 1.651 MB / 4.468 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.118e-05/10.56, allocations: 0 / 4.468 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/10.56, allocations: 44 kB / 4.468 GB, free: 114.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.616e-05/10.56, allocations: 45.98 kB / 4.468 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/10.56, allocations: 1.796 MB / 4.47 GB, free: 112.9 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.01689/10.58, allocations: 7.972 MB / 4.478 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003479/10.58, allocations: 1.552 MB / 4.479 GB, free: 103 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007856/10.58, allocations: 0.7083 MB / 4.48 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/10.58, allocations: 51.16 kB / 4.48 GB, free: 102.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 4.188e-06/10.58, allocations: 0 / 4.48 GB, free: 102.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.00642/10.59, allocations: 2.265 MB / 4.482 GB, free: 99.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/10.59, allocations: 111.4 kB / 4.482 GB, free: 99.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/10.59, allocations: 1.818 MB / 4.484 GB, free: 97.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008279/10.59, allocations: 53.7 kB / 4.484 GB, free: 97.83 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/10.6, allocations: 0.7136 MB / 4.485 GB, free: 97.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/10.6, allocations: 244.4 kB / 4.485 GB, free: 96.86 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005398/10.6, allocations: 28 kB / 4.485 GB, free: 96.84 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001864/10.6, allocations: 361.9 kB / 4.485 GB, free: 96.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/10.6, allocations: 1.299 MB / 4.487 GB, free: 95.18 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/10.6, allocations: 1.692 MB / 4.488 GB, free: 93.34 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/10.61, allocations: 1.183 MB / 4.489 GB, free: 92.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/10.61, allocations: 11.89 kB / 4.489 GB, free: 92.15 MB / 1.167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.008467/10.62, allocations: 2.937 MB / 4.492 GB, free: 89.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007919/10.62, allocations: 2.774 MB / 4.495 GB, free: 86.16 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/10.62, allocations: 8 kB / 4.495 GB, free: 86.15 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.478e-05/10.62, allocations: 12 kB / 4.495 GB, free: 86.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/10.62, allocations: 403.4 kB / 4.495 GB, free: 85.75 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-05/10.62, allocations: 15.94 kB / 4.495 GB, free: 85.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/10.62, allocations: 310 kB / 4.496 GB, free: 85.43 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006366/10.62, allocations: 91.97 kB / 4.496 GB, free: 85.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/10.62, allocations: 4 kB / 4.496 GB, free: 85.33 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006931/10.63, allocations: 2.774 MB / 4.498 GB, free: 82.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/10.63, allocations: 8.094 kB / 4.498 GB, free: 82.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/10.63, allocations: 16 kB / 4.498 GB, free: 82.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/10.63, allocations: 395.4 kB / 4.499 GB, free: 82.15 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.161e-05/10.63, allocations: 23.97 kB / 4.499 GB, free: 82.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/10.64, allocations: 270.5 kB / 4.499 GB, free: 81.86 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/10.64, allocations: 91.95 kB / 4.499 GB, free: 81.77 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime,vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001703/10.64, allocations: 0.526 MB / 4.5 GB, free: 81.23 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/10.64, allocations: 169.8 kB / 4.5 GB, free: 81.07 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005085/10.64, allocations: 1.787 MB / 4.502 GB, free: 79.27 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/10.64, allocations: 8 kB / 4.502 GB, free: 79.26 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/10.64, allocations: 0 / 4.502 GB, free: 79.26 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/10.64, allocations: 7.984 kB / 4.502 GB, free: 79.25 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/10.65, allocations: 3.86 MB / 4.505 GB, free: 75.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/10.65, allocations: 4 kB / 4.505 GB, free: 75.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/10.66, allocations: 240 kB / 4.506 GB, free: 75.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/10.66, allocations: 4 kB / 4.506 GB, free: 75.07 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/10.66, allocations: 31.94 kB / 4.506 GB, free: 75.04 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/10.66, allocations: 15.92 kB / 4.506 GB, free: 75.02 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/10.66, allocations: 4 kB / 4.506 GB, free: 75.02 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/10.66, allocations: 2.94 MB / 4.509 GB, free: 71.98 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/10.66, allocations: 0.514 MB / 4.509 GB, free: 71.45 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008607/10.67, allocations: 16 kB / 4.509 GB, free: 71.43 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/10.67, allocations: 147.9 kB / 4.509 GB, free: 71.29 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/10.67, allocations: 64.44 kB / 4.509 GB, free: 71.23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/10.67, allocations: 55.97 kB / 4.509 GB, free: 71.17 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003166/10.67, allocations: 1.384 MB / 4.511 GB, free: 69.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.032e-06/10.67, allocations: 3.938 kB / 4.511 GB, free: 69.79 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00788/10.68, allocations: 1.264 MB / 4.512 GB, free: 68.53 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01148/10.69, allocations: 6.267 MB / 4.518 GB, free: 62.06 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009563/10.7, allocations: 3.924 MB / 4.522 GB, free: 58.13 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/10.7, allocations: 0 / 4.522 GB, free: 58.13 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/10.7, allocations: 0.7573 MB / 4.523 GB, free: 57.38 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/10.71, allocations: 0.6483 MB / 4.523 GB, free: 56.74 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/10.72, allocations: 9.295 MB / 4.532 GB, free: 47.15 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/10.72, allocations: 1.342 MB / 4.534 GB, free: 45.78 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004348/10.72, allocations: 0.6083 MB / 4.534 GB, free: 45.17 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/10.73, allocations: 0.6555 MB / 4.535 GB, free: 44.51 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/10.73, allocations: 0 / 4.535 GB, free: 44.51 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9071/11.63, allocations: 82.2 MB / 4.615 GB, free: 219.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/11.63, allocations: 224.5 kB / 4.615 GB, free: 219.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.814/16.45, allocations: 0 / 4.615 GB, free: 219.2 MB / 1.182 GB (rm -f Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat does not exist to compare? outputFormat=mat