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.32/2.32, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001/0.001, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.386/1.386, allocations: 221.5 MB / 0.7824 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008809, allocations: 91.86 kB / 0.9219 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.804e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.071/5.303, allocations: 1.912 GB / 3.118 GB, free: 434.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.304, allocations: 94.89 kB / 3.118 GB, free: 434.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.724/7.028, allocations: 457.2 MB / 3.565 GB, free: 316.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.323e-06/7.028, allocations: 0 / 3.565 GB, free: 316.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.989e-05/7.028, allocations: 23.09 kB / 3.565 GB, free: 316.4 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.002054/7.03, allocations: 1.006 MB / 3.566 GB, free: 316 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/7.03, allocations: 11.44 kB / 3.566 GB, free: 316 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009643/7.031, allocations: 174.9 kB / 3.566 GB, free: 316 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/7.032, allocations: 0.6876 MB / 3.567 GB, free: 315.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/7.032, allocations: 11.22 kB / 3.567 GB, free: 315.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.746e-05/7.033, allocations: 34.02 kB / 3.567 GB, free: 315.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005079/7.033, allocations: 269 kB / 3.567 GB, free: 315.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/7.034, allocations: 369.6 kB / 3.567 GB, free: 315.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/7.034, allocations: 0 / 3.567 GB, free: 315.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/7.034, allocations: 1.547 kB / 3.567 GB, free: 315.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/7.034, allocations: 16.09 kB / 3.567 GB, free: 315.6 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.0026/7.036, allocations: 1.85 MB / 3.569 GB, free: 314.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/7.037, allocations: 314.9 kB / 3.569 GB, free: 314.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/7.037, allocations: 133.6 kB / 3.569 GB, free: 314.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/7.037, allocations: 190.4 kB / 3.57 GB, free: 314.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/7.037, allocations: 44.22 kB / 3.57 GB, free: 314.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/7.037, allocations: 0 / 3.57 GB, free: 314.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001092/7.039, allocations: 391.7 kB / 3.57 GB, free: 314.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/7.039, allocations: 58.58 kB / 3.57 GB, free: 314.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008489/7.039, allocations: 0.6403 MB / 3.571 GB, free: 314.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/7.04, allocations: 27.33 kB / 3.571 GB, free: 314.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/7.04, allocations: 343.8 kB / 3.571 GB, free: 314.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/7.04, allocations: 102.1 kB / 3.571 GB, free: 314 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/7.04, allocations: 0 / 3.571 GB, free: 314 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/7.04, allocations: 316 kB / 3.572 GB, free: 313.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/7.04, allocations: 106.9 kB / 3.572 GB, free: 313.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/7.041, allocations: 262.2 kB / 3.572 GB, free: 313.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/7.041, allocations: 136.5 kB / 3.572 GB, free: 313.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/7.041, allocations: 0.6094 kB / 3.572 GB, free: 313.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000823/7.042, allocations: 396.2 kB / 3.572 GB, free: 313.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/7.042, allocations: 269.6 kB / 3.573 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/7.042, allocations: 5.203 kB / 3.573 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/7.042, allocations: 34.31 kB / 3.573 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/7.043, allocations: 110.8 kB / 3.573 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005841/7.043, allocations: 1.164 MB / 3.574 GB, free: 312.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009097/7.044, allocations: 95.73 kB / 3.574 GB, free: 312.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/7.044, allocations: 16.73 kB / 3.574 GB, free: 312.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/7.044, allocations: 3.719 kB / 3.574 GB, free: 312.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006523/7.045, allocations: 278.5 kB / 3.574 GB, free: 312.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/7.045, allocations: 1.125 kB / 3.574 GB, free: 312.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/7.045, allocations: 37.81 kB / 3.574 GB, free: 312 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/7.046, allocations: 96.78 kB / 3.574 GB, free: 312 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/7.047, allocations: 1.406 MB / 3.576 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/7.048, allocations: 89.05 kB / 3.576 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/7.048, allocations: 12.48 kB / 3.576 GB, free: 310.8 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.0001541/7.048, allocations: 118.6 kB / 3.576 GB, free: 310.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/7.048, allocations: 63.7 kB / 3.576 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009347/7.049, allocations: 401 kB / 3.576 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/7.049, allocations: 6.656 kB / 3.576 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/7.049, allocations: 4.219 kB / 3.576 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/7.049, allocations: 1.547 kB / 3.576 GB, free: 310.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/7.051, allocations: 1.121 MB / 3.578 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/7.051, allocations: 6.5 kB / 3.578 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/7.051, allocations: 69.83 kB / 3.578 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-05/7.051, allocations: 33.55 kB / 3.578 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/7.051, allocations: 5.344 kB / 3.578 GB, free: 310.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004271/7.052, allocations: 1.154 MB / 3.579 GB, free: 309.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/7.052, allocations: 3.094 kB / 3.579 GB, free: 309.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008683/7.053, allocations: 0.7107 MB / 3.579 GB, free: 308.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/7.053, allocations: 212.1 kB / 3.58 GB, free: 308.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/7.053, allocations: 5.688 kB / 3.58 GB, free: 308.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/7.054, allocations: 51.66 kB / 3.58 GB, free: 308.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/7.054, allocations: 38.48 kB / 3.58 GB, free: 308.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/7.054, allocations: 11.5 kB / 3.58 GB, free: 308.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006469/7.055, allocations: 0.5051 MB / 3.58 GB, free: 308.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.055, allocations: 6.094 kB / 3.58 GB, free: 308.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001484/7.056, allocations: 401.6 kB / 3.581 GB, free: 308.5 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.002383/7.059, allocations: 1.395 MB / 3.582 GB, free: 308.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001443/7.06, allocations: 0.5505 MB / 3.583 GB, free: 308.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/7.06, allocations: 0 / 3.583 GB, free: 308.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/7.06, allocations: 154.1 kB / 3.583 GB, free: 308.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/7.062, allocations: 236 kB / 3.583 GB, free: 308.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/7.064, allocations: 0.8778 MB / 3.584 GB, free: 307.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005713/7.064, allocations: 0.9572 MB / 3.585 GB, free: 307.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001185/7.065, allocations: 253.7 kB / 3.585 GB, free: 307.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/7.066, allocations: 33.64 kB / 3.585 GB, free: 307 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/7.066, allocations: 1 kB / 3.585 GB, free: 307 MB / 1.151 GB Notification: Performance of Templates: time 0.04029/7.106, allocations: 18.32 MB / 3.603 GB, free: 306.7 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