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.253/2.253, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001042/0.001042, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 0.7915 GB, free: 5.492 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.0008884/0.0008884, allocations: 102.5 kB / 0.9318 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.697e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.708/6.035, allocations: 1.914 GB / 3.132 GB, free: 401.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/6.035, allocations: 97.16 kB / 3.132 GB, free: 401.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.666/7.701, allocations: 462.7 MB / 3.584 GB, free: 318.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/7.701, allocations: 0 / 3.584 GB, free: 318.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001199/7.701, allocations: 23.94 kB / 3.584 GB, free: 318.8 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.003687/7.705, allocations: 1.002 MB / 3.585 GB, free: 318.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.989e-05/7.705, allocations: 7.688 kB / 3.585 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/7.707, allocations: 169.1 kB / 3.585 GB, free: 318.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/7.71, allocations: 0.6969 MB / 3.586 GB, free: 318 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/7.71, allocations: 32.12 kB / 3.586 GB, free: 318 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/7.71, allocations: 45.62 kB / 3.586 GB, free: 318 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/7.711, allocations: 421.4 kB / 3.587 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/7.711, allocations: 5.375 kB / 3.587 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/7.711, allocations: 10.86 kB / 3.587 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/7.711, allocations: 19.53 kB / 3.587 GB, free: 317.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/7.712, allocations: 291.1 kB / 3.587 GB, free: 317.9 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.003264/7.715, allocations: 1.95 MB / 3.589 GB, free: 317 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/7.715, allocations: 327.4 kB / 3.589 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/7.716, allocations: 141.3 kB / 3.589 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002891/7.716, allocations: 191.1 kB / 3.589 GB, free: 316.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/7.716, allocations: 37.95 kB / 3.589 GB, free: 316.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/7.716, allocations: 2.844 kB / 3.589 GB, free: 316.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001372/7.717, allocations: 400 kB / 3.59 GB, free: 316.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/7.717, allocations: 56.84 kB / 3.59 GB, free: 316.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/7.719, allocations: 0.7517 MB / 3.591 GB, free: 316.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.513e-05/7.719, allocations: 36.05 kB / 3.591 GB, free: 316.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/7.719, allocations: 335 kB / 3.591 GB, free: 316.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/7.719, allocations: 103.2 kB / 3.591 GB, free: 316.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/7.719, allocations: 3.812 kB / 3.591 GB, free: 316.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001065/7.719, allocations: 319.5 kB / 3.591 GB, free: 315.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/7.72, allocations: 105 kB / 3.592 GB, free: 315.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/7.72, allocations: 280.5 kB / 3.592 GB, free: 315.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/7.72, allocations: 144 kB / 3.592 GB, free: 315.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/7.72, allocations: 0 / 3.592 GB, free: 315.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001018/7.721, allocations: 419.1 kB / 3.592 GB, free: 315.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/7.722, allocations: 281.3 kB / 3.593 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/7.722, allocations: 3.406 kB / 3.593 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/7.722, allocations: 31.83 kB / 3.593 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/7.723, allocations: 108 kB / 3.593 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008387/7.723, allocations: 1.155 MB / 3.594 GB, free: 314.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/7.725, allocations: 104.6 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/7.725, allocations: 11.72 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/7.725, allocations: 5.156 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006462/7.725, allocations: 301.8 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/7.725, allocations: 3.469 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/7.726, allocations: 50.12 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/7.726, allocations: 91.09 kB / 3.594 GB, free: 314.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/7.727, allocations: 1.465 MB / 3.596 GB, free: 312.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/7.728, allocations: 103.7 kB / 3.596 GB, free: 312.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/7.729, allocations: 14.59 kB / 3.596 GB, free: 312.9 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 () * 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.0001684/7.729, allocations: 128.6 kB / 3.596 GB, free: 312.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/7.729, allocations: 73.94 kB / 3.596 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/7.73, allocations: 425.6 kB / 3.597 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/7.73, allocations: 3.281 kB / 3.597 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/7.73, allocations: 0 / 3.597 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/7.73, allocations: 3.719 kB / 3.597 GB, free: 312.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/7.732, allocations: 1.206 MB / 3.598 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/7.732, allocations: 3.938 kB / 3.598 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/7.733, allocations: 72.72 kB / 3.598 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/7.733, allocations: 39.59 kB / 3.598 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/7.733, allocations: 15.14 kB / 3.598 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005792/7.733, allocations: 1.144 MB / 3.599 GB, free: 311.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/7.733, allocations: 3.938 kB / 3.599 GB, free: 311.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/7.735, allocations: 0.7338 MB / 3.6 GB, free: 310.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/7.735, allocations: 222.9 kB / 3.6 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/7.735, allocations: 9.375 kB / 3.6 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/7.736, allocations: 63.58 kB / 3.6 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/7.736, allocations: 24.23 kB / 3.6 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/7.736, allocations: 15.09 kB / 3.6 GB, free: 310.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008224/7.737, allocations: 0.6031 MB / 3.601 GB, free: 310.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/7.737, allocations: 2.906 kB / 3.601 GB, free: 310.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001714/7.739, allocations: 429.5 kB / 3.601 GB, free: 310.6 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 () * 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.00223/7.741, allocations: 1.248 MB / 3.602 GB, free: 310.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001295/7.742, allocations: 0.5717 MB / 3.603 GB, free: 310.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/7.742, allocations: 3.062 kB / 3.603 GB, free: 310.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/7.743, allocations: 166.5 kB / 3.603 GB, free: 310.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/7.744, allocations: 293.1 kB / 3.603 GB, free: 310.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/7.746, allocations: 0.907 MB / 3.604 GB, free: 309.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/7.746, allocations: 0.9599 MB / 3.605 GB, free: 309.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001165/7.747, allocations: 279.5 kB / 3.605 GB, free: 309.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/7.748, allocations: 37.19 kB / 3.605 GB, free: 309.1 MB / 1.167 GB Notification: Performance of SimCode: time 3.61e-07/7.748, allocations: 3.75 kB / 3.605 GB, free: 309.1 MB / 1.167 GB Notification: Performance of Templates: time 0.04466/7.792, allocations: 31.69 MB / 3.636 GB, free: 307.9 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