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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009494/0.0009492, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.639/2.639, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003327, allocations: 8 kB / 0.8149 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.726, allocations: 142.3 MB / 0.9538 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.2425/0.9685, allocations: 196.9 MB / 1.146 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.9876, allocations: 11.97 MB / 1.158 GB, free: 14.74 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.99, allocations: 47.69 kB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.9924, allocations: 0.5509 MB / 1.158 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.9984, allocations: 1.823 MB / 1.16 GB, free: 12.31 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005791/1.004, allocations: 1.814 MB / 1.162 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006447/1.011, allocations: 4.386 MB / 1.166 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/1.013, allocations: 1.103 MB / 1.167 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006225/1.02, allocations: 1.867 MB / 1.169 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/1.023, allocations: 1.436 MB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005814/1.023, allocations: 88 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005933/1.029, allocations: 2.342 MB / 1.173 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/1.031, allocations: 0.5333 MB / 1.173 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/1.032, allocations: 400.7 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006066/1.038, allocations: 3.554 MB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/1.038, allocations: 4 kB / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.625e-06/1.038, allocations: 0 / 1.177 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.022e-05/1.038, allocations: 0 / 1.177 GB, free: 10.74 MB / 0.9356 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.006516/1.044, allocations: 2.362 MB / 1.18 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.044, allocations: 8.031 kB / 1.18 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002995/1.045, allocations: 148.2 kB / 1.18 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/1.047, allocations: 0.5129 MB / 1.18 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/1.051, allocations: 1.849 MB / 1.182 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/1.051, allocations: 226.2 kB / 1.182 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/1.052, allocations: 116 kB / 1.182 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/1.055, allocations: 1.582 MB / 1.184 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/1.055, allocations: 7.938 kB / 1.184 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.055, allocations: 39.98 kB / 1.184 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/1.055, allocations: 49.98 kB / 1.184 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003593/1.058, allocations: 1.749 MB / 1.186 GB, free: 1.93 MB / 0.9356 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.01176/1.07, allocations: 7.577 MB / 1.193 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/1.073, allocations: 1.397 MB / 1.195 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/1.074, allocations: 0.6885 MB / 1.195 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/1.075, allocations: 0.7239 MB / 1.196 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/1.075, allocations: 47.06 kB / 1.196 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.336e-06/1.075, allocations: 0 / 1.196 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.004878/1.08, allocations: 2.067 MB / 1.198 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/1.08, allocations: 111.4 kB / 1.198 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.084, allocations: 2.084 MB / 1.2 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003122/1.084, allocations: 49.7 kB / 1.2 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/1.085, allocations: 0.7013 MB / 1.201 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.085, allocations: 244.6 kB / 1.201 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/1.085, allocations: 23.94 kB / 1.201 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.086, allocations: 353.9 kB / 1.201 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/1.088, allocations: 1.389 MB / 1.203 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/1.091, allocations: 1.752 MB / 1.204 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/1.094, allocations: 1.267 MB / 1.206 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/1.094, allocations: 0 / 1.206 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006246/1.1, allocations: 3.07 MB / 1.209 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002436/1.1, allocations: 288.8 kB / 1.209 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.1, allocations: 7.953 kB / 1.209 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/1.1, allocations: 19.98 kB / 1.209 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.102, allocations: 331.5 kB / 1.209 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/1.102, allocations: 12 kB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002154/1.104, allocations: 302 kB / 1.21 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/1.105, allocations: 55.97 kB / 1.21 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.105, allocations: 9.719 kB / 1.21 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005676/1.11, allocations: 2.894 MB / 1.213 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.11, allocations: 8.406 kB / 1.213 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.11, allocations: 19.98 kB / 1.213 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/1.112, allocations: 331.5 kB / 1.213 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.239e-05/1.112, allocations: 15.94 kB / 1.213 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.114, allocations: 288.8 kB / 1.213 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/1.114, allocations: 55.97 kB / 1.213 GB, free: 4.941 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.001146/1.116, allocations: 0.5141 MB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/1.116, allocations: 165.8 kB / 1.214 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/1.12, allocations: 1.607 MB / 1.215 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.12, allocations: 8 kB / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.12, allocations: 0 / 1.215 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.12, allocations: 3.984 kB / 1.215 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007183/1.127, allocations: 3.54 MB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/1.127, allocations: 0 / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.128, allocations: 224 kB / 1.219 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/1.128, allocations: 4 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/1.129, allocations: 27.97 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/1.129, allocations: 4 kB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.129, allocations: 7.938 kB / 1.219 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/1.134, allocations: 2.556 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.135, allocations: 450.5 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004828/1.136, allocations: 20 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.137, allocations: 143.9 kB / 1.222 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.137, allocations: 56.48 kB / 1.222 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/1.137, allocations: 35.97 kB / 1.222 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002705/1.14, allocations: 1.439 MB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/1.14, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004228/1.144, allocations: 0.9988 MB / 1.225 GB, free: 9 MB / 0.9825 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 (78): * Single equations (assignments): 76 * 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.007131/1.152, allocations: 3.578 MB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008327/1.16, allocations: 4.056 MB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.16, allocations: 7.875 kB / 1.232 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.162, allocations: 0.7425 MB / 1.233 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.165, allocations: 0.6741 MB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03625/1.202, allocations: 14.73 MB / 1.248 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5575/1.759, allocations: 1.298 MB / 1.249 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002963/1.762, allocations: 0.5185 MB / 1.25 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.764, allocations: 0.6458 MB / 1.25 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/1.764, allocations: 0 / 1.25 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08741/1.851, allocations: 53.52 MB / 1.303 GB, free: 247.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.851, allocations: 229.3 kB / 1.303 GB, free: 246.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.71/5.561, allocations: 0 / 1.303 GB, free: 246.9 MB / 0.9981 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