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.499/2.499, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001572/0.001571, allocations: 175.2 kB / 492.3 MB, free: 0.6289 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.745/1.745, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000942/0.000942, allocations: 95.02 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.96e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.974/7.282, allocations: 2.188 GB / 3.4 GB, free: 114.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/7.283, allocations: 95.89 kB / 3.4 GB, free: 114.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.439/12.72, allocations: 1.048 GB / 4.448 GB, free: 195.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.874e-06/12.72, allocations: 7.688 kB / 4.448 GB, free: 195.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003556/12.72, allocations: 41.16 kB / 4.449 GB, free: 195.6 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.00937/12.73, allocations: 2.361 MB / 4.451 GB, free: 194.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/12.73, allocations: 9.094 kB / 4.451 GB, free: 194.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006022/12.73, allocations: 149.8 kB / 4.451 GB, free: 194.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/12.74, allocations: 0.5035 MB / 4.451 GB, free: 194.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00644/12.74, allocations: 2.041 MB / 4.453 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008475/12.74, allocations: 231.7 kB / 4.454 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007376/12.74, allocations: 121.3 kB / 4.454 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/12.75, allocations: 1.473 MB / 4.455 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/12.75, allocations: 4.781 kB / 4.455 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/12.75, allocations: 41.19 kB / 4.455 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.891e-05/12.75, allocations: 48.58 kB / 4.455 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/12.75, allocations: 1.447 MB / 4.457 GB, free: 194.3 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.01269/12.76, allocations: 7.964 MB / 4.465 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/12.76, allocations: 1.198 MB / 4.466 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/12.77, allocations: 0.5772 MB / 4.466 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/12.77, allocations: 0.7187 MB / 4.467 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/12.77, allocations: 39 kB / 4.467 GB, free: 190.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 2.956e-06/12.77, allocations: 3.469 kB / 4.467 GB, free: 190.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.002451/12.77, allocations: 1.27 MB / 4.468 GB, free: 190.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/12.77, allocations: 118 kB / 4.468 GB, free: 190.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/12.77, allocations: 1.799 MB / 4.47 GB, free: 190 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000254/12.77, allocations: 51.55 kB / 4.47 GB, free: 190 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/12.77, allocations: 0.7045 MB / 4.471 GB, free: 189.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/12.77, allocations: 247.7 kB / 4.471 GB, free: 189.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/12.77, allocations: 20.25 kB / 4.471 GB, free: 189.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/12.77, allocations: 361.9 kB / 4.471 GB, free: 189.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/12.77, allocations: 1.12 MB / 4.473 GB, free: 189.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/12.78, allocations: 1.515 MB / 4.474 GB, free: 189 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/12.78, allocations: 1.011 MB / 4.475 GB, free: 189 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/12.78, allocations: 3.781 kB / 4.475 GB, free: 189 MB / 1.167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003842/12.78, allocations: 2.588 MB / 4.478 GB, free: 188.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006/12.78, allocations: 2.778 MB / 4.48 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/12.78, allocations: 7.188 kB / 4.48 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/12.78, allocations: 15.94 kB / 4.48 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/12.78, allocations: 397.6 kB / 4.481 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/12.78, allocations: 23.02 kB / 4.481 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/12.79, allocations: 315.1 kB / 4.481 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002174/12.79, allocations: 87.14 kB / 4.481 GB, free: 185.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/12.79, allocations: 4.531 kB / 4.481 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003561/12.79, allocations: 2.421 MB / 4.483 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/12.79, allocations: 7.312 kB / 4.483 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/12.79, allocations: 16.84 kB / 4.483 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/12.79, allocations: 391.7 kB / 4.484 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/12.79, allocations: 20.11 kB / 4.484 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/12.79, allocations: 281.9 kB / 4.484 GB, free: 185.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/12.79, allocations: 89.03 kB / 4.484 GB, free: 185.8 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 () * 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.0003957/12.79, allocations: 194.3 kB / 4.484 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/12.79, allocations: 166.7 kB / 4.485 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/12.8, allocations: 1.447 MB / 4.486 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/12.8, allocations: 6.812 kB / 4.486 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/12.8, allocations: 7.797 kB / 4.486 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/12.8, allocations: 3.844 kB / 4.486 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005132/12.8, allocations: 3.518 MB / 4.489 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/12.8, allocations: 6.719 kB / 4.489 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/12.8, allocations: 237.9 kB / 4.49 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/12.8, allocations: 7 kB / 4.49 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/12.8, allocations: 31.53 kB / 4.49 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/12.8, allocations: 6.969 kB / 4.49 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/12.8, allocations: 3.656 kB / 4.49 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/12.81, allocations: 2.443 MB / 4.492 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000929/12.81, allocations: 0.5098 MB / 4.493 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/12.81, allocations: 25.64 kB / 4.493 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/12.81, allocations: 149.5 kB / 4.493 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/12.81, allocations: 58.83 kB / 4.493 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/12.81, allocations: 63.06 kB / 4.493 GB, free: 184.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001809/12.81, allocations: 1.358 MB / 4.494 GB, free: 184.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.31e-07/12.81, allocations: 0 / 4.494 GB, free: 184.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004321/12.82, allocations: 1.266 MB / 4.495 GB, free: 184 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 () * 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.006972/12.82, allocations: 5.768 MB / 4.501 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004814/12.83, allocations: 3.462 MB / 4.504 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/12.83, allocations: 3.125 kB / 4.504 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007818/12.83, allocations: 0.593 MB / 4.505 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/12.83, allocations: 0.6495 MB / 4.506 GB, free: 181.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/12.84, allocations: 2.793 MB / 4.508 GB, free: 180.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/12.84, allocations: 1.349 MB / 4.51 GB, free: 180.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003388/12.84, allocations: 0.7868 MB / 4.51 GB, free: 180.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009531/12.84, allocations: 0.6185 MB / 4.511 GB, free: 180.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.525e-06/12.84, allocations: 3.031 kB / 4.511 GB, free: 180.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1576/13, allocations: 89.9 MB / 4.599 GB, free: 177.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/13, allocations: 203.5 kB / 4.599 GB, free: 177.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.1/19.1, allocations: 2.625 kB / 4.599 GB, free: 177.1 MB / 1.167 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