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.42/2.42, allocations: 390.5 MB / 398 MB, free: 10.94 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.001469/0.001469, allocations: 188.8 kB / 491.2 MB, free: 1.531 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.765/1.765, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.00122/0.00122, allocations: 83.95 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/3.016e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4037, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.879/8.282, allocations: 2.188 GB / 3.4 GB, free: 88.66 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004193/8.283, allocations: 92.69 kB / 3.4 GB, free: 88.61 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.568/13.85, allocations: 1.039 GB / 4.439 GB, free: 202.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.657e-06/13.85, allocations: 0 / 4.439 GB, free: 202.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002275/13.85, allocations: 43.62 kB / 4.439 GB, free: 202.7 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.01192/13.86, allocations: 2.368 MB / 4.442 GB, free: 202 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.317e-05/13.86, allocations: 9.969 kB / 4.442 GB, free: 202 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/13.87, allocations: 0.5004 MB / 4.442 GB, free: 201.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006723/13.87, allocations: 2.037 MB / 4.444 GB, free: 201.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007442/13.87, allocations: 177.7 kB / 4.444 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008505/13.88, allocations: 79.22 kB / 4.444 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003195/13.88, allocations: 1.326 MB / 4.446 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/13.88, allocations: 1.34 MB / 4.447 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/13.88, allocations: 3.219 kB / 4.447 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/13.88, allocations: 0 / 4.447 GB, free: 201.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-05/13.88, allocations: 48.12 kB / 4.447 GB, free: 201.3 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.01706/13.9, allocations: 7.708 MB / 4.455 GB, free: 198.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/13.9, allocations: 1.172 MB / 4.456 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/13.9, allocations: 0.5554 MB / 4.456 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009096/13.9, allocations: 0.7104 MB / 4.457 GB, free: 197.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/13.9, allocations: 47.45 kB / 4.457 GB, free: 197.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.919e-06/13.9, allocations: 2.156 kB / 4.457 GB, free: 197.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.005002/13.91, allocations: 1.405 MB / 4.458 GB, free: 197.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/13.91, allocations: 115.1 kB / 4.459 GB, free: 197.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/13.91, allocations: 1.505 MB / 4.46 GB, free: 197.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006593/13.91, allocations: 25.7 kB / 4.46 GB, free: 197.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008309/13.91, allocations: 0.7014 MB / 4.461 GB, free: 196.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/13.91, allocations: 239.1 kB / 4.461 GB, free: 196.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/13.91, allocations: 0 / 4.461 GB, free: 196.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001558/13.91, allocations: 354.8 kB / 4.461 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/13.92, allocations: 1.095 MB / 4.462 GB, free: 196.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/13.92, allocations: 1.482 MB / 4.464 GB, free: 196.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/13.92, allocations: 1.183 MB / 4.465 GB, free: 196.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/13.92, allocations: 0 / 4.465 GB, free: 196.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006101/13.93, allocations: 2.662 MB / 4.468 GB, free: 195.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001037/13.93, allocations: 2.916 MB / 4.47 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/13.93, allocations: 11.27 kB / 4.47 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.857e-05/13.93, allocations: 18.16 kB / 4.47 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/13.93, allocations: 392.5 kB / 4.471 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.653e-05/13.93, allocations: 21.52 kB / 4.471 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/13.93, allocations: 255.7 kB / 4.471 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/13.93, allocations: 86.98 kB / 4.471 GB, free: 192.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/13.93, allocations: 6.875 kB / 4.471 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005498/13.94, allocations: 2.481 MB / 4.474 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/13.94, allocations: 10.72 kB / 4.474 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/13.94, allocations: 17.19 kB / 4.474 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/13.94, allocations: 398.7 kB / 4.474 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/13.94, allocations: 19.83 kB / 4.474 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/13.94, allocations: 213.3 kB / 4.474 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/13.94, allocations: 89.11 kB / 4.474 GB, free: 192.8 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: 14 (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 (160): * Single equations (assignments): 159 * 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.0006686/13.94, allocations: 149.7 kB / 4.474 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00422/13.95, allocations: 1.383 MB / 4.476 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/13.95, allocations: 142.8 kB / 4.476 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/13.95, allocations: 1.54 MB / 4.477 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/13.95, allocations: 10.78 kB / 4.477 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/13.95, allocations: 0 / 4.477 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/13.95, allocations: 3.75 kB / 4.477 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/13.96, allocations: 3.531 MB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/13.96, allocations: 11.2 kB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/13.96, allocations: 230.5 kB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/13.96, allocations: 3.969 kB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/13.96, allocations: 30.47 kB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/13.96, allocations: 8.219 kB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/13.96, allocations: 3.281 kB / 4.481 GB, free: 191.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005742/13.97, allocations: 2.527 MB / 4.484 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/13.97, allocations: 493.2 kB / 4.484 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003166/13.97, allocations: 3.938 kB / 4.484 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/13.97, allocations: 149.1 kB / 4.484 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/13.97, allocations: 60.2 kB / 4.484 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/13.97, allocations: 58.58 kB / 4.484 GB, free: 191.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002319/13.98, allocations: 1.111 MB / 4.485 GB, free: 191.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.565e-06/13.98, allocations: 3.75 kB / 4.485 GB, free: 191.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006662/13.98, allocations: 1.194 MB / 4.487 GB, free: 191 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 () * 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.01105/13.99, allocations: 6.083 MB / 4.493 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006772/14, allocations: 3.347 MB / 4.496 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/14, allocations: 3.469 kB / 4.496 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/14, allocations: 0.5597 MB / 4.496 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003535/14, allocations: 447.5 kB / 4.497 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/14.01, allocations: 2.671 MB / 4.499 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/14.01, allocations: 1.339 MB / 4.501 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004204/14.02, allocations: 0.7147 MB / 4.501 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/14.02, allocations: 0.6041 MB / 4.502 GB, free: 187.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.583e-06/14.02, allocations: 0 / 4.502 GB, free: 187.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/14.16, allocations: 60.16 MB / 4.561 GB, free: 185 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/14.16, allocations: 189.3 kB / 4.561 GB, free: 184.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.059/19.22, allocations: 4 kB / 4.561 GB, free: 184.8 MB / 1.167 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