Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001068/0.001068, allocations: 180.8 kB / 492.3 MB, free: 0.625 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.437/1.437, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008713/0.0008713, allocations: 98.28 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.711e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.241, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.626/4.867, allocations: 1.913 GB / 3.125 GB, free: 396.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/4.867, allocations: 89.34 kB / 3.125 GB, free: 396.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.584/6.451, allocations: 462.7 MB / 3.577 GB, free: 311.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.924e-06/6.451, allocations: 0 / 3.577 GB, free: 311.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.873e-05/6.452, allocations: 20.03 kB / 3.577 GB, free: 311.8 MB / 1.151 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.002/6.454, allocations: 1.007 MB / 3.578 GB, free: 311.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/6.454, allocations: 7.812 kB / 3.578 GB, free: 311.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009681/6.455, allocations: 169.2 kB / 3.578 GB, free: 311.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/6.456, allocations: 0.6935 MB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/6.456, allocations: 34.09 kB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/6.456, allocations: 50.72 kB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006416/6.457, allocations: 415.3 kB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/6.457, allocations: 3 kB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/6.457, allocations: 12.97 kB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/6.457, allocations: 23.02 kB / 3.579 GB, free: 310.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/6.457, allocations: 297.6 kB / 3.58 GB, free: 310.9 MB / 1.151 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.002425/6.46, allocations: 1.951 MB / 3.582 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/6.46, allocations: 318.9 kB / 3.582 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/6.46, allocations: 141.1 kB / 3.582 GB, free: 309.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/6.461, allocations: 190.9 kB / 3.582 GB, free: 309.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/6.461, allocations: 36.55 kB / 3.582 GB, free: 309.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.715e-06/6.461, allocations: 3 kB / 3.582 GB, free: 309.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.0009766/6.462, allocations: 416.5 kB / 3.583 GB, free: 309.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/6.462, allocations: 55.28 kB / 3.583 GB, free: 309.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/6.462, allocations: 0.7502 MB / 3.584 GB, free: 309.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/6.463, allocations: 42.17 kB / 3.584 GB, free: 309.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/6.463, allocations: 335.3 kB / 3.584 GB, free: 309.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/6.463, allocations: 99.66 kB / 3.584 GB, free: 309.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/6.463, allocations: 3.875 kB / 3.584 GB, free: 309.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/6.463, allocations: 316.5 kB / 3.584 GB, free: 308.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/6.463, allocations: 108.6 kB / 3.584 GB, free: 308.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/6.463, allocations: 276.3 kB / 3.585 GB, free: 308.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/6.464, allocations: 137.5 kB / 3.585 GB, free: 308.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/6.464, allocations: 3.938 kB / 3.585 GB, free: 308.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006102/6.464, allocations: 420.1 kB / 3.585 GB, free: 308.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/6.464, allocations: 277.5 kB / 3.585 GB, free: 308.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/6.464, allocations: 0 / 3.585 GB, free: 308.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/6.464, allocations: 41 kB / 3.585 GB, free: 308.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/6.465, allocations: 99.25 kB / 3.586 GB, free: 308.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005415/6.466, allocations: 1.154 MB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008801/6.467, allocations: 102.1 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/6.467, allocations: 15.06 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/6.467, allocations: 6.875 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005304/6.467, allocations: 294.4 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/6.467, allocations: 3.781 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/6.467, allocations: 48.73 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/6.468, allocations: 97.14 kB / 3.587 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/6.469, allocations: 1.462 MB / 3.589 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/6.47, allocations: 103.5 kB / 3.589 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/6.47, allocations: 18.11 kB / 3.589 GB, free: 305.9 MB / 1.151 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.0001387/6.47, allocations: 119.7 kB / 3.589 GB, free: 305.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/6.47, allocations: 85.42 kB / 3.589 GB, free: 305.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/6.471, allocations: 431.5 kB / 3.589 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/6.471, allocations: 3.938 kB / 3.589 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/6.471, allocations: 0 / 3.589 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/6.471, allocations: 0 / 3.589 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/6.473, allocations: 1.198 MB / 3.591 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/6.473, allocations: 3.688 kB / 3.591 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/6.473, allocations: 79.62 kB / 3.591 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/6.473, allocations: 38.78 kB / 3.591 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/6.473, allocations: 10.31 kB / 3.591 GB, free: 305.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004656/6.474, allocations: 1.146 MB / 3.592 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/6.474, allocations: 3.375 kB / 3.592 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/6.474, allocations: 0.747 MB / 3.593 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/6.475, allocations: 217.2 kB / 3.593 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.434e-05/6.475, allocations: 10.91 kB / 3.593 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/6.476, allocations: 58.02 kB / 3.593 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/6.476, allocations: 33.44 kB / 3.593 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/6.476, allocations: 14.8 kB / 3.593 GB, free: 303.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007274/6.476, allocations: 0.6006 MB / 3.593 GB, free: 303.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.476, allocations: 0 / 3.593 GB, free: 303.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001514/6.478, allocations: 430.9 kB / 3.594 GB, free: 303.6 MB / 1.151 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.001636/6.48, allocations: 1.246 MB / 3.595 GB, free: 303.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001211/6.481, allocations: 0.5781 MB / 3.596 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/6.481, allocations: 0 / 3.596 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/6.481, allocations: 168.3 kB / 3.596 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/6.483, allocations: 295 kB / 3.596 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/6.484, allocations: 0.9153 MB / 3.597 GB, free: 302.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/6.484, allocations: 0.9591 MB / 3.598 GB, free: 302 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00102/6.485, allocations: 279.9 kB / 3.598 GB, free: 302 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/6.486, allocations: 39.95 kB / 3.598 GB, free: 302 MB / 1.151 GB Notification: Performance of SimCode: time 8.32e-07/6.486, allocations: 0 / 3.598 GB, free: 302 MB / 1.151 GB Notification: Performance of Templates: time 0.0463/6.532, allocations: 31.69 MB / 3.629 GB, free: 300.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches