Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.m_flow|vav.m_flow|dam.dp|vav.dp|res.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 177.2 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009664/0.0009663, allocations: 94.09 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003386, allocations: 10.12 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 106.3 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.822/5.062, allocations: 2.199 GB / 3.099 GB, free: 20.17 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/5.062, allocations: 97.2 kB / 3.099 GB, free: 20.07 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.771/6.833, allocations: 446.6 MB / 3.535 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.583e-06/6.833, allocations: 0 / 3.535 GB, free: 218.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001344/6.833, allocations: 24.52 kB / 3.535 GB, free: 218.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00388/6.837, allocations: 1.347 MB / 3.536 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/6.837, allocations: 10.53 kB / 3.536 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/6.839, allocations: 176.9 kB / 3.537 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/6.841, allocations: 0.8132 MB / 3.537 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/6.841, allocations: 34.12 kB / 3.537 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/6.841, allocations: 49.69 kB / 3.538 GB, free: 217.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/6.842, allocations: 0.5057 MB / 3.538 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/6.842, allocations: 0 / 3.538 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/6.842, allocations: 17.12 kB / 3.538 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/6.842, allocations: 11.53 kB / 3.538 GB, free: 217.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/6.843, allocations: 352.7 kB / 3.538 GB, free: 217.4 MB / 0.8855 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.003016/6.846, allocations: 1.973 MB / 3.54 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006642/6.846, allocations: 357.7 kB / 3.541 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/6.846, allocations: 193.1 kB / 3.541 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/6.847, allocations: 40.59 kB / 3.541 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/6.847, allocations: 0 / 3.541 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.001733/6.848, allocations: 0.6825 MB / 3.542 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/6.848, allocations: 211.7 kB / 3.542 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/6.849, allocations: 0.8113 MB / 3.543 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/6.849, allocations: 36.05 kB / 3.543 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/6.85, allocations: 367 kB / 3.543 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/6.85, allocations: 92.19 kB / 3.543 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/6.85, allocations: 6.594 kB / 3.543 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/6.85, allocations: 319.6 kB / 3.543 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/6.85, allocations: 159.7 kB / 3.543 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/6.851, allocations: 363.5 kB / 3.544 GB, free: 215 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/6.851, allocations: 209.9 kB / 3.544 GB, free: 215 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/6.851, allocations: 3.953 kB / 3.544 GB, free: 215 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009833/6.852, allocations: 0.5231 MB / 3.545 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/6.852, allocations: 275.2 kB / 3.545 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/6.852, allocations: 7.672 kB / 3.545 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/6.852, allocations: 37 kB / 3.545 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/6.853, allocations: 92.81 kB / 3.545 GB, free: 214.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000495/6.853, allocations: 1.152 MB / 3.546 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/6.854, allocations: 107.4 kB / 3.546 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/6.854, allocations: 20.12 kB / 3.546 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/6.854, allocations: 2.125 kB / 3.546 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007872/6.855, allocations: 414.4 kB / 3.547 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/6.855, allocations: 3.891 kB / 3.547 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/6.855, allocations: 40.75 kB / 3.547 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/6.856, allocations: 76.38 kB / 3.547 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009936/6.857, allocations: 1.475 MB / 3.548 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/6.858, allocations: 102.2 kB / 3.548 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/6.858, allocations: 17.91 kB / 3.548 GB, free: 212.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003899/6.858, allocations: 300 kB / 3.549 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/6.858, allocations: 88.92 kB / 3.549 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009571/6.859, allocations: 475.6 kB / 3.549 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/6.859, allocations: 3.781 kB / 3.549 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/6.859, allocations: 3.844 kB / 3.549 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/6.859, allocations: 0 / 3.549 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/6.861, allocations: 1.232 MB / 3.55 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/6.861, allocations: 7.797 kB / 3.55 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/6.862, allocations: 67.88 kB / 3.55 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/6.862, allocations: 38.41 kB / 3.55 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/6.862, allocations: 14 kB / 3.55 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003894/6.862, allocations: 1.145 MB / 3.551 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/6.862, allocations: 1.5 kB / 3.551 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/6.863, allocations: 0.8353 MB / 3.552 GB, free: 210 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/6.864, allocations: 221.4 kB / 3.553 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/6.864, allocations: 16.47 kB / 3.553 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/6.864, allocations: 55.34 kB / 3.553 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/6.865, allocations: 27.12 kB / 3.553 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/6.865, allocations: 12.44 kB / 3.553 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008231/6.865, allocations: 0.6485 MB / 3.553 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.865, allocations: 0 / 3.553 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001507/6.867, allocations: 483.7 kB / 3.554 GB, free: 209.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001676/6.869, allocations: 1.283 MB / 3.555 GB, free: 209.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001563/6.87, allocations: 0.8208 MB / 3.556 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/6.87, allocations: 0 / 3.556 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/6.871, allocations: 192.3 kB / 3.556 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/6.872, allocations: 329.1 kB / 3.556 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/6.874, allocations: 1.489 MB / 3.558 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/6.874, allocations: 0.9757 MB / 3.559 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000662/6.875, allocations: 184.6 kB / 3.559 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/6.875, allocations: 64.8 kB / 3.559 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of SimCode: time 7.01e-07/6.875, allocations: 0 / 3.559 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03794/6.913, allocations: 28.78 MB / 3.587 GB, free: 206.4 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches