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.449/1.449, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 186.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008616/0.0008617, allocations: 88.36 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.06e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.459, allocations: 2.199 GB / 3.091 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/5.459, allocations: 91.58 kB / 3.091 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.428/6.887, allocations: 446.1 MB / 3.526 GB, free: 26 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/6.887, allocations: 0 / 3.526 GB, free: 26 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001349/6.887, allocations: 23.98 kB / 3.526 GB, free: 25.98 MB / 0.8698 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.002913/6.89, allocations: 1.086 MB / 3.527 GB, free: 24.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/6.89, allocations: 8.031 kB / 3.527 GB, free: 24.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/6.892, allocations: 170.8 kB / 3.528 GB, free: 24.67 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/6.894, allocations: 0.7924 MB / 3.528 GB, free: 23.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/6.894, allocations: 40.78 kB / 3.528 GB, free: 23.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/6.894, allocations: 44 kB / 3.528 GB, free: 23.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000771/6.895, allocations: 482.5 kB / 3.529 GB, free: 23.24 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/6.895, allocations: 4 kB / 3.529 GB, free: 23.24 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/6.895, allocations: 20 kB / 3.529 GB, free: 23.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/6.895, allocations: 11.94 kB / 3.529 GB, free: 23.21 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/6.895, allocations: 287 kB / 3.529 GB, free: 22.93 MB / 0.8698 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.002802/6.898, allocations: 1.975 MB / 3.531 GB, free: 20.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/6.899, allocations: 317 kB / 3.531 GB, free: 20.48 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/6.899, allocations: 136.8 kB / 3.532 GB, free: 20.35 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/6.899, allocations: 190.2 kB / 3.532 GB, free: 20.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/6.899, allocations: 46.52 kB / 3.532 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/6.899, allocations: 0 / 3.532 GB, free: 20.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.001011/6.9, allocations: 390.6 kB / 3.532 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/6.9, allocations: 217.6 kB / 3.532 GB, free: 19.42 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/6.901, allocations: 0.7819 MB / 3.533 GB, free: 18.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/6.901, allocations: 33.7 kB / 3.533 GB, free: 18.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/6.901, allocations: 362 kB / 3.533 GB, free: 18.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/6.902, allocations: 98.64 kB / 3.534 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/6.902, allocations: 4 kB / 3.534 GB, free: 18.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.073e-05/6.902, allocations: 321.9 kB / 3.534 GB, free: 17.81 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/6.902, allocations: 140 kB / 3.534 GB, free: 17.67 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/6.902, allocations: 341.9 kB / 3.534 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/6.902, allocations: 179.2 kB / 3.535 GB, free: 17.08 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/6.902, allocations: 4 kB / 3.535 GB, free: 17.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007046/6.903, allocations: 454.5 kB / 3.535 GB, free: 16.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/6.903, allocations: 277.3 kB / 3.535 GB, free: 16.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/6.903, allocations: 7.984 kB / 3.535 GB, free: 16.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/6.903, allocations: 40.77 kB / 3.535 GB, free: 16.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/6.904, allocations: 87.86 kB / 3.535 GB, free: 16.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00049/6.904, allocations: 1.158 MB / 3.536 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/6.905, allocations: 107.6 kB / 3.537 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.052e-05/6.905, allocations: 19.98 kB / 3.537 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/6.905, allocations: 4 kB / 3.537 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005622/6.906, allocations: 360.5 kB / 3.537 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/6.906, allocations: 4.234 kB / 3.537 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/6.906, allocations: 40.81 kB / 3.537 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/6.906, allocations: 83.83 kB / 3.537 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/6.907, allocations: 1.46 MB / 3.539 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008133/6.908, allocations: 103.6 kB / 3.539 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/6.908, allocations: 19.98 kB / 3.539 GB, free: 12.66 MB / 0.8698 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 () * 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.0001293/6.908, allocations: 126.6 kB / 3.539 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/6.908, allocations: 79.02 kB / 3.539 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007161/6.909, allocations: 425.2 kB / 3.539 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/6.909, allocations: 4 kB / 3.539 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/6.909, allocations: 0 / 3.539 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/6.909, allocations: 3.984 kB / 3.539 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/6.911, allocations: 1.17 MB / 3.54 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/6.911, allocations: 0 / 3.54 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/6.911, allocations: 71.81 kB / 3.54 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.466e-05/6.911, allocations: 36.84 kB / 3.54 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/6.911, allocations: 12 kB / 3.54 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003636/6.912, allocations: 1.154 MB / 3.542 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/6.912, allocations: 0 / 3.542 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/6.912, allocations: 0.7535 MB / 3.542 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/6.913, allocations: 216.1 kB / 3.543 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/6.913, allocations: 15.94 kB / 3.543 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/6.913, allocations: 63.83 kB / 3.543 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/6.914, allocations: 19.97 kB / 3.543 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/6.914, allocations: 16 kB / 3.543 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006749/6.914, allocations: 0.628 MB / 3.543 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/6.914, allocations: 0 / 3.543 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00164/6.916, allocations: 483.5 kB / 3.544 GB, free: 7.184 MB / 0.8698 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 () * 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.001876/6.918, allocations: 1.282 MB / 3.545 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001298/6.919, allocations: 0.756 MB / 3.546 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/6.919, allocations: 8 kB / 3.546 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/6.919, allocations: 151.8 kB / 3.546 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/6.921, allocations: 332.9 kB / 3.546 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/6.922, allocations: 0.9459 MB / 3.547 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/6.923, allocations: 0.979 MB / 3.548 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001034/6.924, allocations: 285.2 kB / 3.548 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/6.924, allocations: 43.42 kB / 3.548 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of SimCode: time 9.62e-07/6.924, allocations: 0 / 3.548 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of Templates: time 0.5713/7.495, allocations: 33.5 MB / 3.581 GB, free: 200 MB / 0.8698 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