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.001208/0.001208, allocations: 99.86 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.001473/0.001473, allocations: 177.3 kB / 15.94 MB, free: 228 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.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.594/2.594, allocations: 390.3 MB / 0.6653 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.000369, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8949/0.8953, allocations: 142.3 MB / 0.9536 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.2208/1.116, allocations: 179.4 MB / 1.129 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.135, allocations: 11.59 MB / 1.14 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/1.138, allocations: 39.69 kB / 1.14 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002843/1.141, allocations: 0.7464 MB / 1.141 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00828/1.149, allocations: 2.278 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006472/1.156, allocations: 1.94 MB / 1.145 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005039/1.161, allocations: 2.305 MB / 1.147 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002084/1.163, allocations: 1.134 MB / 1.148 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004764/1.168, allocations: 1.694 MB / 1.15 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/1.17, allocations: 1.184 MB / 1.151 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002731/1.17, allocations: 91.94 kB / 1.151 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005366/1.176, allocations: 2.305 MB / 1.153 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009306/1.177, allocations: 0.5101 MB / 1.154 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007485/1.177, allocations: 396.7 kB / 1.154 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005969/1.183, allocations: 3.531 MB / 1.158 GB, free: 14.62 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/1.184, allocations: 0 / 1.158 GB, free: 14.62 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.485e-06/1.184, allocations: 0 / 1.158 GB, free: 14.62 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.043e-05/1.184, allocations: 0 / 1.158 GB, free: 14.62 MB / 0.92 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.006858/1.19, allocations: 2.35 MB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/1.191, allocations: 8.031 kB / 1.16 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003575/1.191, allocations: 152.2 kB / 1.16 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/1.194, allocations: 0.5168 MB / 1.161 GB, free: 11.53 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/1.198, allocations: 1.828 MB / 1.163 GB, free: 9.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006775/1.198, allocations: 230.2 kB / 1.163 GB, free: 9.426 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/1.199, allocations: 116 kB / 1.163 GB, free: 9.312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/1.202, allocations: 1.582 MB / 1.164 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.202, allocations: 0 / 1.164 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.202, allocations: 44 kB / 1.164 GB, free: 7.629 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/1.202, allocations: 42 kB / 1.164 GB, free: 7.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/1.206, allocations: 1.749 MB / 1.166 GB, free: 5.84 MB / 0.92 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.01312/1.219, allocations: 7.605 MB / 1.174 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/1.222, allocations: 1.385 MB / 1.175 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/1.223, allocations: 0.6447 MB / 1.176 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/1.223, allocations: 39.12 kB / 1.176 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.336e-06/1.223, allocations: 0 / 1.176 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.005357/1.228, allocations: 2.059 MB / 1.178 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/1.228, allocations: 119.4 kB / 1.178 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/1.232, allocations: 2.089 MB / 1.18 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004864/1.233, allocations: 41.7 kB / 1.18 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/1.233, allocations: 0.7091 MB / 1.181 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/1.234, allocations: 248.5 kB / 1.181 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/1.234, allocations: 20 kB / 1.181 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.234, allocations: 361.9 kB / 1.181 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/1.237, allocations: 1.385 MB / 1.182 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/1.24, allocations: 1.753 MB / 1.184 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/1.242, allocations: 1.263 MB / 1.185 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.242, allocations: 0 / 1.185 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006193/1.248, allocations: 3.07 MB / 1.188 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.001542/1.25, allocations: 2.772 MB / 1.191 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/1.25, allocations: 7.984 kB / 1.191 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/1.25, allocations: 20 kB / 1.191 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.252, allocations: 331.5 kB / 1.191 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.558e-05/1.252, allocations: 19.92 kB / 1.191 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.254, allocations: 300.1 kB / 1.192 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/1.254, allocations: 55.97 kB / 1.192 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.254, allocations: 4 kB / 1.192 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005844/1.26, allocations: 2.906 MB / 1.195 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.26, allocations: 8 kB / 1.195 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.26, allocations: 12 kB / 1.195 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.262, allocations: 331.8 kB / 1.195 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/1.262, allocations: 19.92 kB / 1.195 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/1.264, allocations: 276.2 kB / 1.195 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/1.265, allocations: 59.92 kB / 1.195 GB, free: 6.973 MB / 0.9512 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 (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.001136/1.266, allocations: 0.5102 MB / 1.196 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/1.266, allocations: 169.8 kB / 1.196 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/1.27, allocations: 1.604 MB / 1.198 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.27, allocations: 11.98 kB / 1.198 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.27, allocations: 0 / 1.198 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.27, allocations: 3.984 kB / 1.198 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007388/1.278, allocations: 3.606 MB / 1.201 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/1.278, allocations: 0 / 1.201 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.279, allocations: 224 kB / 1.201 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/1.279, allocations: 4 kB / 1.201 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/1.279, allocations: 27.98 kB / 1.201 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/1.279, allocations: 8 kB / 1.201 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.279, allocations: 3.938 kB / 1.201 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/1.285, allocations: 2.751 MB / 1.204 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.286, allocations: 458.5 kB / 1.204 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/1.286, allocations: 20 kB / 1.205 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.288, allocations: 147.8 kB / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.288, allocations: 56.44 kB / 1.205 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.288, allocations: 39.97 kB / 1.205 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002938/1.291, allocations: 1.443 MB / 1.206 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.291, allocations: 0 / 1.206 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004281/1.295, allocations: 0.9989 MB / 1.207 GB, free: 10.68 MB / 0.9669 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: 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.00804/1.303, allocations: 4.463 MB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008883/1.312, allocations: 4.055 MB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.312, allocations: 1 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/1.314, allocations: 0.7455 MB / 1.216 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.318, allocations: 0.6691 MB / 1.217 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.33, allocations: 9.188 MB / 1.226 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.331, allocations: 1.337 MB / 1.227 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003156/1.335, allocations: 0.5329 MB / 1.228 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.336, allocations: 0.6437 MB / 1.228 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of SimCode: time 1.002e-06/1.336, allocations: 0 / 1.228 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6624/1.998, allocations: 52.63 MB / 1.28 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.999, allocations: 234.5 kB / 1.28 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/5.469, allocations: 0 / 1.28 GB, free: 267.2 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