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.298/2.298, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001135/0.001135, allocations: 188.7 kB / 487.4 MB, free: 5.051 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.773/1.773, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 108.7 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.07e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.685/5.976, allocations: 2.187 GB / 3.393 GB, free: 140.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/5.977, allocations: 96.69 kB / 3.393 GB, free: 140.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.486/10.46, allocations: 1.039 GB / 4.432 GB, free: 197.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/10.46, allocations: 0 / 4.432 GB, free: 197.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001911/10.46, allocations: 43.39 kB / 4.432 GB, free: 197.1 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.008286/10.47, allocations: 2.367 MB / 4.434 GB, free: 196.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/10.47, allocations: 9.188 kB / 4.434 GB, free: 196.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/10.48, allocations: 0.5017 MB / 4.435 GB, free: 196.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/10.48, allocations: 2.047 MB / 4.437 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006118/10.48, allocations: 178.6 kB / 4.437 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/10.48, allocations: 74.69 kB / 4.437 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00238/10.48, allocations: 1.33 MB / 4.438 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/10.49, allocations: 1.341 MB / 4.44 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/10.49, allocations: 0 / 4.44 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/10.49, allocations: 3.969 kB / 4.44 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/10.49, allocations: 48.08 kB / 4.44 GB, free: 196.1 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.0136/10.5, allocations: 7.699 MB / 4.447 GB, free: 193.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/10.5, allocations: 1.186 MB / 4.448 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/10.5, allocations: 0.554 MB / 4.449 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000697/10.5, allocations: 0.706 MB / 4.449 GB, free: 192.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/10.5, allocations: 49.03 kB / 4.45 GB, free: 192.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 3.036e-06/10.5, allocations: 6.688 kB / 4.45 GB, free: 192.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.003724/10.51, allocations: 1.399 MB / 4.451 GB, free: 192.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/10.51, allocations: 110.4 kB / 4.451 GB, free: 192.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/10.51, allocations: 1.511 MB / 4.452 GB, free: 191.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003789/10.51, allocations: 27.02 kB / 4.453 GB, free: 191.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/10.51, allocations: 0.7014 MB / 4.453 GB, free: 191.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/10.51, allocations: 235.2 kB / 4.453 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/10.51, allocations: 2.156 kB / 4.453 GB, free: 191.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001049/10.51, allocations: 365 kB / 4.454 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/10.51, allocations: 1.098 MB / 4.455 GB, free: 191.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/10.51, allocations: 1.493 MB / 4.456 GB, free: 190.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/10.52, allocations: 1.178 MB / 4.457 GB, free: 190.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/10.52, allocations: 3.75 kB / 4.457 GB, free: 190.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005267/10.52, allocations: 2.664 MB / 4.46 GB, free: 190.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006451/10.52, allocations: 2.915 MB / 4.463 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/10.52, allocations: 6.875 kB / 4.463 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/10.52, allocations: 17.84 kB / 4.463 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/10.52, allocations: 391 kB / 4.463 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/10.52, allocations: 20.73 kB / 4.463 GB, free: 187.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/10.53, allocations: 251.1 kB / 4.464 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002488/10.53, allocations: 88.78 kB / 4.464 GB, free: 187.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/10.53, allocations: 3.562 kB / 4.464 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005395/10.53, allocations: 2.482 MB / 4.466 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/10.53, allocations: 7.688 kB / 4.466 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/10.53, allocations: 14.16 kB / 4.466 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/10.53, allocations: 397.1 kB / 4.466 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/10.53, allocations: 22.39 kB / 4.466 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/10.54, allocations: 220.1 kB / 4.467 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/10.54, allocations: 91.47 kB / 4.467 GB, free: 187.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.000496/10.54, allocations: 146.1 kB / 4.467 GB, free: 187.4 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003979/10.54, allocations: 1.378 MB / 4.468 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/10.54, allocations: 147.8 kB / 4.468 GB, free: 187.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/10.55, allocations: 1.558 MB / 4.47 GB, free: 187.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/10.55, allocations: 8.953 kB / 4.47 GB, free: 187.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/10.55, allocations: 2.906 kB / 4.47 GB, free: 187.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/10.55, allocations: 4.312 kB / 4.47 GB, free: 187.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008809/10.56, allocations: 3.517 MB / 4.473 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/10.56, allocations: 3.156 kB / 4.473 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/10.56, allocations: 237.8 kB / 4.474 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/10.56, allocations: 5.312 kB / 4.474 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/10.56, allocations: 27.27 kB / 4.474 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/10.56, allocations: 4.703 kB / 4.474 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/10.56, allocations: 6.188 kB / 4.474 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/10.56, allocations: 2.538 MB / 4.476 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/10.56, allocations: 0.4919 MB / 4.477 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/10.56, allocations: 5.5 kB / 4.477 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/10.57, allocations: 139.6 kB / 4.477 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/10.57, allocations: 60.12 kB / 4.477 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/10.57, allocations: 60.48 kB / 4.477 GB, free: 185.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002045/10.57, allocations: 1.11 MB / 4.478 GB, free: 185.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/10.57, allocations: 0.5625 kB / 4.478 GB, free: 185.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005521/10.57, allocations: 1.2 MB / 4.479 GB, free: 185.7 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.008354/10.58, allocations: 6.092 MB / 4.485 GB, free: 183.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005552/10.59, allocations: 3.362 MB / 4.488 GB, free: 183.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/10.59, allocations: 0 / 4.488 GB, free: 183.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008957/10.59, allocations: 0.5756 MB / 4.489 GB, free: 183.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/10.59, allocations: 444.8 kB / 4.489 GB, free: 183.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/10.6, allocations: 2.678 MB / 4.492 GB, free: 182.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/10.6, allocations: 1.342 MB / 4.493 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003543/10.6, allocations: 0.7151 MB / 4.494 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000996/10.6, allocations: 0.6111 MB / 4.495 GB, free: 182 MB / 1.167 GB Notification: Performance of SimCode: time 1.193e-06/10.6, allocations: 0 / 4.495 GB, free: 182 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/10.71, allocations: 60.29 MB / 4.553 GB, free: 180.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/10.71, allocations: 183.4 kB / 4.554 GB, free: 180.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.19/14.9, allocations: 2.812 kB / 4.554 GB, free: 180.4 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