Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_latest_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.0009335/0.0009335, allocations: 100 kB / 15.05 MB, free: 1.105 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.001039/0.00104, allocations: 177.3 kB / 15.95 MB, free: 216 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.596/2.596, allocations: 409.2 MB / 0.6838 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005576, allocations: 8 kB / 0.8375 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7787, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.1667/0.9454, allocations: 179.4 MB / 1.156 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01477/0.9602, allocations: 11.59 MB / 1.167 GB, free: 6.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/0.9621, allocations: 43.69 kB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.9645, allocations: 0.7464 MB / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005759/0.9703, allocations: 2.267 MB / 1.17 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.9748, allocations: 1.943 MB / 1.172 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002718/0.9775, allocations: 2.314 MB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.9788, allocations: 1.138 MB / 1.176 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.9816, allocations: 1.698 MB / 1.177 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.9829, allocations: 1.184 MB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.9831, allocations: 88 kB / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.9874, allocations: 2.309 MB / 1.181 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.9879, allocations: 0.514 MB / 1.181 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.9883, allocations: 404.6 kB / 1.182 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.9914, allocations: 3.527 MB / 1.185 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9915, allocations: 0 / 1.185 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9915, allocations: 0 / 1.185 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.9915, allocations: 4 kB / 1.185 GB, free: 4.688 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.004897/0.9964, allocations: 2.347 MB / 1.187 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.9964, allocations: 12.02 kB / 1.187 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.9966, allocations: 144.2 kB / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.9989, allocations: 0.5207 MB / 1.188 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/1.002, allocations: 1.839 MB / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006086/1.002, allocations: 222.3 kB / 1.19 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/1.003, allocations: 116 kB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/1.005, allocations: 1.578 MB / 1.192 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/1.005, allocations: 3.938 kB / 1.192 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.005, allocations: 40 kB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/1.005, allocations: 49.98 kB / 1.192 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/1.009, allocations: 1.733 MB / 1.193 GB, free: 11.92 MB / 0.9512 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.01108/1.02, allocations: 7.644 MB / 1.201 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/1.023, allocations: 1.384 MB / 1.202 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/1.023, allocations: 0.6408 MB / 1.203 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.023, allocations: 43.06 kB / 1.203 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=69): time 3.056e-06/1.023, allocations: 0 / 1.203 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69): time 0.004901/1.028, allocations: 2.051 MB / 1.205 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/1.028, allocations: 115.4 kB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/1.031, allocations: 2.097 MB / 1.207 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/1.031, allocations: 41.7 kB / 1.207 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/1.032, allocations: 0.7052 MB / 1.208 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/1.032, allocations: 240.5 kB / 1.208 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/1.032, allocations: 20 kB / 1.208 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.032, allocations: 357.9 kB / 1.208 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/1.035, allocations: 1.381 MB / 1.21 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/1.037, allocations: 1.757 MB / 1.212 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/1.04, allocations: 1.259 MB / 1.213 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.04, allocations: 4 kB / 1.213 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005257/1.045, allocations: 3.062 MB / 1.216 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008769/1.046, allocations: 2.775 MB / 1.218 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/1.046, allocations: 8 kB / 1.218 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.046, allocations: 12 kB / 1.218 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.047, allocations: 335.5 kB / 1.219 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/1.047, allocations: 15.94 kB / 1.219 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.049, allocations: 319.2 kB / 1.219 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.049, allocations: 51.97 kB / 1.219 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/1.049, allocations: 7.953 kB / 1.219 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004908/1.054, allocations: 2.898 MB / 1.222 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.054, allocations: 11.98 kB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/1.054, allocations: 16.41 kB / 1.222 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.056, allocations: 331.5 kB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.056, allocations: 15.98 kB / 1.222 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/1.057, allocations: 270.6 kB / 1.223 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.058, allocations: 51.98 kB / 1.223 GB, free: 13.05 MB / 0.9825 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.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,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.0007434/1.058, allocations: 0.5181 MB / 1.223 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/1.059, allocations: 173.8 kB / 1.223 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/1.062, allocations: 1.59 MB / 1.225 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.062, allocations: 8 kB / 1.225 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.062, allocations: 7.938 kB / 1.225 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.062, allocations: 7.984 kB / 1.225 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/1.067, allocations: 3.575 MB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.067, allocations: 4 kB / 1.228 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.068, allocations: 219.9 kB / 1.229 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/1.068, allocations: 15.92 kB / 1.229 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/1.069, allocations: 31.94 kB / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/1.069, allocations: 4 kB / 1.229 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.069, allocations: 4 kB / 1.229 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/1.073, allocations: 2.731 MB / 1.231 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/1.074, allocations: 462.4 kB / 1.232 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.074, allocations: 20 kB / 1.232 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.075, allocations: 152.5 kB / 1.232 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.075, allocations: 64.38 kB / 1.232 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/1.075, allocations: 35.98 kB / 1.232 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001759/1.077, allocations: 1.443 MB / 1.233 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/1.077, allocations: 4 kB / 1.233 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002255/1.079, allocations: 0.9987 MB / 1.234 GB, free: 0.7734 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * 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.006171/1.086, allocations: 4.473 MB / 1.239 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006886/1.093, allocations: 4.044 MB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.093, allocations: 0 / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/1.094, allocations: 0.7262 MB / 1.243 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.097, allocations: 0.6612 MB / 1.244 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/1.504, allocations: 8.906 MB / 1.253 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.505, allocations: 1.339 MB / 1.254 GB, free: 260.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003208/1.508, allocations: 0.524 MB / 1.255 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.509, allocations: 0.6422 MB / 1.255 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.509, allocations: 0.875 kB / 1.255 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3755/1.885, allocations: 52.54 MB / 1.307 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01319/1.898, allocations: 236.3 kB / 1.307 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/5.028, allocations: 0 / 1.307 GB, free: 221.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat does not exist to compare? outputFormat=mat