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.38/2.38, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001106/0.001106, allocations: 181 kB / 498.1 MB, free: 5.715 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.762/1.762, allocations: 223.2 MB / 0.7949 GB, free: 18.86 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.001074/0.001074, allocations: 98.7 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004761, allocations: 8.594 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.117/5.448, allocations: 1.913 GB / 3.136 GB, free: 66.62 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/5.449, allocations: 96.83 kB / 3.136 GB, free: 66.53 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.725/7.173, allocations: 463.1 MB / 3.588 GB, free: 71.36 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/7.173, allocations: 0 / 3.588 GB, free: 71.36 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.743e-05/7.173, allocations: 27.92 kB / 3.588 GB, free: 71.33 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.002845/7.176, allocations: 1.27 MB / 3.589 GB, free: 70.01 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/7.176, allocations: 11.97 kB / 3.589 GB, free: 70 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/7.177, allocations: 162.9 kB / 3.589 GB, free: 69.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/7.179, allocations: 0.707 MB / 3.59 GB, free: 69.09 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/7.179, allocations: 40.98 kB / 3.59 GB, free: 69.05 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/7.179, allocations: 55.97 kB / 3.59 GB, free: 68.99 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/7.179, allocations: 446.3 kB / 3.591 GB, free: 68.54 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/7.179, allocations: 0 / 3.591 GB, free: 68.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/7.179, allocations: 20 kB / 3.591 GB, free: 68.52 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/7.179, allocations: 12.66 kB / 3.591 GB, free: 68.51 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006167/7.18, allocations: 358.3 kB / 3.591 GB, free: 68.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.002147/7.182, allocations: 1.951 MB / 3.593 GB, free: 66.06 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/7.183, allocations: 365.8 kB / 3.593 GB, free: 65.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/7.183, allocations: 194.4 kB / 3.593 GB, free: 65.47 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/7.183, allocations: 34.75 kB / 3.594 GB, free: 65.43 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/7.183, allocations: 0 / 3.594 GB, free: 65.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001604/7.185, allocations: 0.6872 MB / 3.594 GB, free: 64.71 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/7.185, allocations: 59.34 kB / 3.594 GB, free: 64.64 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009588/7.186, allocations: 0.7695 MB / 3.595 GB, free: 63.87 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/7.186, allocations: 37.7 kB / 3.595 GB, free: 63.82 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/7.186, allocations: 337.2 kB / 3.595 GB, free: 63.49 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/7.186, allocations: 98.56 kB / 3.595 GB, free: 63.39 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/7.186, allocations: 4 kB / 3.595 GB, free: 63.39 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/7.186, allocations: 321.9 kB / 3.596 GB, free: 63.07 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/7.186, allocations: 139.8 kB / 3.596 GB, free: 62.93 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/7.187, allocations: 307.8 kB / 3.596 GB, free: 62.56 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/7.187, allocations: 166.6 kB / 3.596 GB, free: 62.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/7.187, allocations: 0 / 3.596 GB, free: 62.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007844/7.188, allocations: 473.1 kB / 3.597 GB, free: 61.93 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/7.188, allocations: 279 kB / 3.597 GB, free: 61.64 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/7.188, allocations: 0 / 3.597 GB, free: 61.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/7.188, allocations: 36.78 kB / 3.597 GB, free: 61.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/7.189, allocations: 103.9 kB / 3.597 GB, free: 61.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004802/7.189, allocations: 1.15 MB / 3.598 GB, free: 60.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009335/7.19, allocations: 107.7 kB / 3.598 GB, free: 60.19 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/7.19, allocations: 12 kB / 3.598 GB, free: 60.18 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/7.19, allocations: 8 kB / 3.598 GB, free: 60.17 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007139/7.191, allocations: 368.5 kB / 3.599 GB, free: 59.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/7.191, allocations: 0 / 3.599 GB, free: 59.81 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/7.191, allocations: 40.77 kB / 3.599 GB, free: 59.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/7.192, allocations: 91.94 kB / 3.599 GB, free: 59.68 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009718/7.193, allocations: 1.475 MB / 3.6 GB, free: 58.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008488/7.193, allocations: 99.69 kB / 3.6 GB, free: 57.97 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/7.193, allocations: 16 kB / 3.6 GB, free: 57.95 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.0003174/7.194, allocations: 286 kB / 3.601 GB, free: 57.66 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/7.194, allocations: 71.06 kB / 3.601 GB, free: 57.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/7.195, allocations: 498.7 kB / 3.601 GB, free: 57.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/7.195, allocations: 8 kB / 3.601 GB, free: 57.09 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/7.195, allocations: 0 / 3.601 GB, free: 57.09 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/7.195, allocations: 3.984 kB / 3.601 GB, free: 57.09 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/7.197, allocations: 1.249 MB / 3.603 GB, free: 55.76 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/7.197, allocations: 4.188 kB / 3.603 GB, free: 55.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/7.197, allocations: 71.89 kB / 3.603 GB, free: 55.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.766e-05/7.197, allocations: 40.81 kB / 3.603 GB, free: 55.64 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/7.197, allocations: 8 kB / 3.603 GB, free: 55.63 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003706/7.198, allocations: 1.154 MB / 3.604 GB, free: 54.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/7.198, allocations: 0 / 3.604 GB, free: 54.43 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/7.199, allocations: 0.8273 MB / 3.605 GB, free: 53.53 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/7.199, allocations: 220 kB / 3.605 GB, free: 53.29 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/7.199, allocations: 15.92 kB / 3.605 GB, free: 53.28 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000729/7.2, allocations: 52.31 kB / 3.605 GB, free: 53.23 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/7.2, allocations: 31.86 kB / 3.605 GB, free: 53.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/7.2, allocations: 15.98 kB / 3.605 GB, free: 53.18 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008256/7.201, allocations: 0.6317 MB / 3.606 GB, free: 52.55 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/7.201, allocations: 0 / 3.606 GB, free: 52.55 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001688/7.202, allocations: 427.7 kB / 3.606 GB, free: 52.13 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.002051/7.204, allocations: 1.253 MB / 3.607 GB, free: 50.85 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001716/7.206, allocations: 0.6281 MB / 3.608 GB, free: 50.21 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/7.206, allocations: 0 / 3.608 GB, free: 50.21 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/7.207, allocations: 205.6 kB / 3.608 GB, free: 50.01 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/7.208, allocations: 300.3 kB / 3.608 GB, free: 49.71 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/7.21, allocations: 1.403 MB / 3.61 GB, free: 48.27 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/7.21, allocations: 0.9569 MB / 3.611 GB, free: 47.29 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007251/7.211, allocations: 181 kB / 3.611 GB, free: 47.11 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/7.211, allocations: 55.42 kB / 3.611 GB, free: 47.05 MB / 1.167 GB Notification: Performance of SimCode: time 1.252e-06/7.211, allocations: 4 kB / 3.611 GB, free: 47.05 MB / 1.167 GB Notification: Performance of Templates: time 0.03937/7.251, allocations: 27.17 MB / 3.637 GB, free: 20.01 MB / 1.167 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