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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.485/2.485, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001213/0.001213, allocations: 191.8 kB / 0.4901 GB, free: 2.305 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.736/1.736, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001188/0.001188, allocations: 102.3 kB / 0.9396 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003594, allocations: 6.906 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3082, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.082/6.39, allocations: 2.189 GB / 3.418 GB, free: 263 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/6.391, allocations: 100.6 kB / 3.418 GB, free: 262.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.722/10.11, allocations: 1.05 GB / 4.468 GB, free: 81.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.926e-06/10.11, allocations: 0 / 4.468 GB, free: 81.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003592/10.11, allocations: 47.92 kB / 4.468 GB, free: 81.65 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.01275/10.13, allocations: 2.795 MB / 4.471 GB, free: 78.79 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 8.588e-05/10.13, allocations: 8.031 kB / 4.471 GB, free: 78.79 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007999/10.13, allocations: 156.1 kB / 4.471 GB, free: 78.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/10.13, allocations: 0.5012 MB / 4.471 GB, free: 78.12 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006669/10.14, allocations: 2.076 MB / 4.473 GB, free: 76 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007015/10.14, allocations: 234.9 kB / 4.474 GB, free: 75.77 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008392/10.14, allocations: 120 kB / 4.474 GB, free: 75.65 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004183/10.14, allocations: 1.646 MB / 4.475 GB, free: 73.94 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/10.14, allocations: 0 / 4.475 GB, free: 73.94 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/10.14, allocations: 44 kB / 4.475 GB, free: 73.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-05/10.14, allocations: 45.98 kB / 4.476 GB, free: 73.85 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/10.15, allocations: 1.788 MB / 4.477 GB, free: 72.06 MB / 1.167 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.01581/10.16, allocations: 7.975 MB / 4.485 GB, free: 63.72 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/10.17, allocations: 1.53 MB / 4.487 GB, free: 62.16 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/10.17, allocations: 0.7161 MB / 4.487 GB, free: 61.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/10.17, allocations: 43.11 kB / 4.487 GB, free: 61.25 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.317e-06/10.17, allocations: 0 / 4.487 GB, free: 61.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.006006/10.17, allocations: 2.25 MB / 4.489 GB, free: 58.99 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/10.17, allocations: 120 kB / 4.49 GB, free: 58.85 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004283/10.18, allocations: 1.825 MB / 4.491 GB, free: 57.03 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005025/10.18, allocations: 57.69 kB / 4.491 GB, free: 56.96 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/10.18, allocations: 0.7097 MB / 4.492 GB, free: 56.24 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/10.18, allocations: 236.5 kB / 4.492 GB, free: 56.01 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/10.18, allocations: 28 kB / 4.492 GB, free: 55.98 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001579/10.18, allocations: 365.9 kB / 4.493 GB, free: 55.62 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/10.18, allocations: 1.295 MB / 4.494 GB, free: 54.32 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/10.19, allocations: 1.692 MB / 4.496 GB, free: 52.49 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/10.19, allocations: 1.18 MB / 4.497 GB, free: 51.31 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/10.19, allocations: 4 kB / 4.497 GB, free: 51.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006951/10.2, allocations: 2.937 MB / 4.5 GB, free: 48.35 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008919/10.2, allocations: 2.778 MB / 4.502 GB, free: 45.31 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/10.2, allocations: 8 kB / 4.502 GB, free: 45.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.87e-05/10.2, allocations: 15.95 kB / 4.502 GB, free: 45.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/10.2, allocations: 399.4 kB / 4.503 GB, free: 44.89 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/10.2, allocations: 15.94 kB / 4.503 GB, free: 44.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00308/10.2, allocations: 314 kB / 4.503 GB, free: 44.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/10.2, allocations: 91.95 kB / 4.503 GB, free: 44.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/10.2, allocations: 4 kB / 4.503 GB, free: 44.48 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005458/10.21, allocations: 2.77 MB / 4.506 GB, free: 41.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/10.21, allocations: 12 kB / 4.506 GB, free: 41.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/10.21, allocations: 12 kB / 4.506 GB, free: 41.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/10.21, allocations: 395.7 kB / 4.506 GB, free: 41.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.013e-05/10.21, allocations: 19.92 kB / 4.506 GB, free: 41.28 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/10.21, allocations: 282.4 kB / 4.507 GB, free: 41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/10.21, allocations: 87.97 kB / 4.507 GB, free: 40.91 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.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 (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.001404/10.21, allocations: 0.5348 MB / 4.507 GB, free: 40.37 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008858/10.22, allocations: 165.8 kB / 4.507 GB, free: 40.21 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/10.22, allocations: 1.777 MB / 4.509 GB, free: 38.41 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/10.22, allocations: 8 kB / 4.509 GB, free: 38.41 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/10.22, allocations: 4 kB / 4.509 GB, free: 38.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/10.22, allocations: 3.984 kB / 4.509 GB, free: 38.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008313/10.23, allocations: 3.849 MB / 4.513 GB, free: 34.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/10.23, allocations: 3.938 kB / 4.513 GB, free: 34.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/10.23, allocations: 236 kB / 4.513 GB, free: 34.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/10.23, allocations: 8 kB / 4.513 GB, free: 34.22 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-05/10.23, allocations: 27.98 kB / 4.513 GB, free: 34.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/10.23, allocations: 11.98 kB / 4.513 GB, free: 34.18 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/10.23, allocations: 0 / 4.513 GB, free: 34.18 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005343/10.23, allocations: 2.923 MB / 4.516 GB, free: 31.16 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/10.24, allocations: 0.514 MB / 4.516 GB, free: 30.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006684/10.24, allocations: 16 kB / 4.517 GB, free: 30.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/10.24, allocations: 159.8 kB / 4.517 GB, free: 30.45 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/10.24, allocations: 64.38 kB / 4.517 GB, free: 30.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/10.24, allocations: 55.97 kB / 4.517 GB, free: 30.34 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003084/10.24, allocations: 1.385 MB / 4.518 GB, free: 28.96 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/10.24, allocations: 0 / 4.518 GB, free: 28.96 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006736/10.25, allocations: 1.268 MB / 4.519 GB, free: 27.69 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: 0 () * 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.01128/10.26, allocations: 6.264 MB / 4.525 GB, free: 21.24 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008734/10.27, allocations: 3.924 MB / 4.529 GB, free: 17.32 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/10.27, allocations: 0 / 4.529 GB, free: 17.32 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/10.27, allocations: 0.7455 MB / 4.53 GB, free: 16.58 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/10.28, allocations: 0.6418 MB / 4.531 GB, free: 15.94 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/10.29, allocations: 8.995 MB / 4.539 GB, free: 6.723 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/10.29, allocations: 1.334 MB / 4.541 GB, free: 5.359 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004187/10.29, allocations: 0.5982 MB / 4.541 GB, free: 4.762 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/10.3, allocations: 0.6593 MB / 4.542 GB, free: 4.102 MB / 1.167 GB Notification: Performance of SimCode: time 1.533e-06/10.3, allocations: 3.938 kB / 4.542 GB, free: 4.098 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8829/11.18, allocations: 82.1 MB / 4.622 GB, free: 204.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/11.18, allocations: 225.7 kB / 4.622 GB, free: 204.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.308/16.49, allocations: 0 / 4.622 GB, free: 204.4 MB / 1.182 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) 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