Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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: 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_latest_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_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.402/2.402, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001212/0.001212, allocations: 183.9 kB / 0.4902 GB, free: 2.238 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.771/1.771, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.0009813/0.0009815, allocations: 92.33 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004539, allocations: 6.719 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3548, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.337/5.692, allocations: 1.914 GB / 3.143 GB, free: 39.54 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/5.693, allocations: 97.11 kB / 3.143 GB, free: 39.49 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.698/7.391, allocations: 463.1 MB / 3.595 GB, free: 49.35 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/7.391, allocations: 4 kB / 3.595 GB, free: 49.34 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.215e-05/7.391, allocations: 20 kB / 3.595 GB, free: 49.32 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003021/7.394, allocations: 1.261 MB / 3.596 GB, free: 48.01 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/7.394, allocations: 8.031 kB / 3.596 GB, free: 48 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009719/7.395, allocations: 170.8 kB / 3.597 GB, free: 47.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/7.396, allocations: 0.7266 MB / 3.597 GB, free: 47.07 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/7.396, allocations: 29 kB / 3.597 GB, free: 47.04 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/7.396, allocations: 48 kB / 3.597 GB, free: 47 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/7.397, allocations: 446.3 kB / 3.598 GB, free: 46.54 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/7.397, allocations: 0 / 3.598 GB, free: 46.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/7.397, allocations: 19.94 kB / 3.598 GB, free: 46.52 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/7.397, allocations: 24.58 kB / 3.598 GB, free: 46.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/7.398, allocations: 350.4 kB / 3.598 GB, free: 46.16 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.002381/7.4, allocations: 1.951 MB / 3.6 GB, free: 44.06 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/7.401, allocations: 371.4 kB / 3.6 GB, free: 43.68 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/7.401, allocations: 194.4 kB / 3.601 GB, free: 43.46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/7.401, allocations: 38.73 kB / 3.601 GB, free: 43.41 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/7.401, allocations: 0 / 3.601 GB, free: 43.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001623/7.403, allocations: 0.6795 MB / 3.601 GB, free: 42.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/7.403, allocations: 51.41 kB / 3.601 GB, free: 42.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/7.404, allocations: 0.7773 MB / 3.602 GB, free: 41.86 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/7.404, allocations: 41.64 kB / 3.602 GB, free: 41.81 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/7.404, allocations: 329.1 kB / 3.602 GB, free: 41.48 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/7.405, allocations: 106.5 kB / 3.603 GB, free: 41.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/7.405, allocations: 4 kB / 3.603 GB, free: 41.37 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/7.405, allocations: 321.9 kB / 3.603 GB, free: 41.05 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/7.405, allocations: 135.9 kB / 3.603 GB, free: 40.92 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/7.405, allocations: 315.7 kB / 3.603 GB, free: 40.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/7.406, allocations: 166 kB / 3.603 GB, free: 40.38 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/7.406, allocations: 7.938 kB / 3.603 GB, free: 40.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008669/7.407, allocations: 469.2 kB / 3.604 GB, free: 39.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/7.407, allocations: 268 kB / 3.604 GB, free: 39.62 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/7.407, allocations: 0 / 3.604 GB, free: 39.62 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/7.407, allocations: 40.83 kB / 3.604 GB, free: 39.58 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/7.407, allocations: 107.8 kB / 3.604 GB, free: 39.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005298/7.408, allocations: 1.158 MB / 3.605 GB, free: 38.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009578/7.409, allocations: 103.7 kB / 3.606 GB, free: 38.16 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/7.409, allocations: 12 kB / 3.606 GB, free: 38.15 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/7.409, allocations: 4 kB / 3.606 GB, free: 38.15 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007115/7.41, allocations: 368.6 kB / 3.606 GB, free: 37.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/7.41, allocations: 0 / 3.606 GB, free: 37.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/7.41, allocations: 44.86 kB / 3.606 GB, free: 37.74 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/7.41, allocations: 91.94 kB / 3.606 GB, free: 37.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/7.411, allocations: 1.475 MB / 3.607 GB, free: 36.04 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/7.412, allocations: 107.6 kB / 3.608 GB, free: 35.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/7.412, allocations: 12 kB / 3.608 GB, free: 35.92 MB / 1.167 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 (29): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0003778/7.413, allocations: 282.5 kB / 3.608 GB, free: 35.64 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/7.413, allocations: 75.06 kB / 3.608 GB, free: 35.56 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/7.414, allocations: 486.2 kB / 3.608 GB, free: 35.07 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/7.414, allocations: 7.938 kB / 3.608 GB, free: 35.07 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/7.414, allocations: 3.938 kB / 3.608 GB, free: 35.06 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/7.414, allocations: 3.984 kB / 3.608 GB, free: 35.06 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/7.416, allocations: 1.252 MB / 3.61 GB, free: 33.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/7.416, allocations: 0 / 3.61 GB, free: 33.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/7.416, allocations: 75.83 kB / 3.61 GB, free: 33.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-05/7.416, allocations: 41 kB / 3.61 GB, free: 33.61 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/7.416, allocations: 12 kB / 3.61 GB, free: 33.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003892/7.416, allocations: 1.15 MB / 3.611 GB, free: 32.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/7.416, allocations: 4.031 kB / 3.611 GB, free: 32.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/7.418, allocations: 0.8286 MB / 3.612 GB, free: 31.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/7.418, allocations: 231.9 kB / 3.612 GB, free: 31.25 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/7.418, allocations: 8 kB / 3.612 GB, free: 31.24 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/7.419, allocations: 55.94 kB / 3.612 GB, free: 31.19 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/7.419, allocations: 35.91 kB / 3.612 GB, free: 31.15 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/7.419, allocations: 12 kB / 3.612 GB, free: 31.14 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008098/7.42, allocations: 0.6239 MB / 3.613 GB, free: 30.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/7.42, allocations: 0 / 3.613 GB, free: 30.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001439/7.421, allocations: 427.7 kB / 3.613 GB, free: 30.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],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 (27): * Single equations (assignments): 25 * 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.001664/7.423, allocations: 1.239 MB / 3.614 GB, free: 28.84 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001428/7.424, allocations: 0.6388 MB / 3.615 GB, free: 28.18 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/7.424, allocations: 0 / 3.615 GB, free: 28.18 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/7.425, allocations: 196.1 kB / 3.615 GB, free: 27.99 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/7.426, allocations: 291.3 kB / 3.615 GB, free: 27.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/7.428, allocations: 1.412 MB / 3.617 GB, free: 26.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/7.428, allocations: 0.953 MB / 3.618 GB, free: 25.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006122/7.429, allocations: 180.9 kB / 3.618 GB, free: 25.09 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/7.429, allocations: 59.42 kB / 3.618 GB, free: 25.03 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/7.429, allocations: 3.938 kB / 3.618 GB, free: 25.03 MB / 1.167 GB Notification: Performance of Templates: time 0.7096/8.138, allocations: 27.18 MB / 3.644 GB, free: 318.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches