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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009482/0.0009483, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005928/0.0005933, allocations: 11.98 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8577, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1856/1.043, allocations: 145.9 MB / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005561/1.049, allocations: 3.221 MB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000777/1.05, allocations: 15.88 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/1.051, allocations: 306.5 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/1.054, allocations: 1.102 MB / 1.101 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/1.056, allocations: 0.676 MB / 1.101 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001943/1.058, allocations: 0.9445 MB / 1.102 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/1.059, allocations: 0.492 MB / 1.103 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/1.06, allocations: 0.6426 MB / 1.103 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/1.061, allocations: 426.4 kB / 1.104 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/1.061, allocations: 36 kB / 1.104 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/1.062, allocations: 0.6942 MB / 1.104 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/1.063, allocations: 223.2 kB / 1.105 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000178/1.063, allocations: 161.3 kB / 1.105 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/1.064, allocations: 0.8651 MB / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/1.064, allocations: 0 / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/1.064, allocations: 0 / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.064, allocations: 0 / 1.106 GB, free: 4.094 MB / 0.8575 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.002745/1.067, allocations: 1.133 MB / 1.107 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.067, allocations: 11.97 kB / 1.107 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/1.067, allocations: 130.9 kB / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.069, allocations: 0.6904 MB / 1.107 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.069, allocations: 33 kB / 1.107 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/1.069, allocations: 44 kB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/1.07, allocations: 470.1 kB / 1.108 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.07, allocations: 0 / 1.108 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/1.07, allocations: 12 kB / 1.108 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/1.07, allocations: 16.66 kB / 1.108 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/1.071, allocations: 370.3 kB / 1.108 GB, free: 1.102 MB / 0.8575 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.002543/1.073, allocations: 1.909 MB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/1.074, allocations: 309.4 kB / 1.11 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/1.074, allocations: 8 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.074, allocations: 38.55 kB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 3.757e-06/1.074, allocations: 4 kB / 1.111 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.001826/1.076, allocations: 0.6806 MB / 1.111 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.076, allocations: 59.33 kB / 1.111 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.077, allocations: 0.868 MB / 1.112 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/1.077, allocations: 33.7 kB / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/1.077, allocations: 332.7 kB / 1.112 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/1.077, allocations: 98.59 kB / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/1.077, allocations: 8 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.078, allocations: 317.9 kB / 1.113 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/1.078, allocations: 127.9 kB / 1.113 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/1.078, allocations: 291.7 kB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/1.079, allocations: 161.5 kB / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.079, allocations: 0 / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001046/1.08, allocations: 466.1 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/1.08, allocations: 278.9 kB / 1.114 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.08, allocations: 8 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/1.08, allocations: 52.8 kB / 1.114 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/1.081, allocations: 107.9 kB / 1.114 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006875/1.082, allocations: 1.158 MB / 1.115 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/1.082, allocations: 106.9 kB / 1.116 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.083, allocations: 11.98 kB / 1.116 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.083, allocations: 8 kB / 1.116 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007541/1.083, allocations: 334.1 kB / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.083, allocations: 0 / 1.116 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/1.083, allocations: 44.77 kB / 1.116 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/1.084, allocations: 83.89 kB / 1.116 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/1.085, allocations: 1.491 MB / 1.117 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009279/1.086, allocations: 104.8 kB / 1.118 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/1.086, allocations: 19.92 kB / 1.118 GB, free: 7.145 MB / 0.8731 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 (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 prepare postOptimizeDAE: time 0.000354/1.086, allocations: 273 kB / 1.118 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.087, allocations: 71.14 kB / 1.118 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009481/1.088, allocations: 462.4 kB / 1.118 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/1.088, allocations: 4 kB / 1.118 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.088, allocations: 4 kB / 1.118 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.088, allocations: 0 / 1.118 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/1.089, allocations: 1.214 MB / 1.12 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.09, allocations: 4 kB / 1.12 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/1.09, allocations: 68.08 kB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001217/1.09, allocations: 40.83 kB / 1.12 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/1.09, allocations: 8 kB / 1.12 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005884/1.091, allocations: 1.15 MB / 1.121 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.091, allocations: 7.969 kB / 1.121 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.092, allocations: 0.8002 MB / 1.122 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/1.092, allocations: 208 kB / 1.122 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/1.092, allocations: 8 kB / 1.122 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/1.093, allocations: 59.92 kB / 1.122 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/1.093, allocations: 27.91 kB / 1.122 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/1.093, allocations: 8 kB / 1.122 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009354/1.094, allocations: 0.6435 MB / 1.122 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.4e-07/1.094, allocations: 0 / 1.122 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009653/1.095, allocations: 303.4 kB / 1.123 GB, free: 1.57 MB / 0.8731 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 (25): * Single equations (assignments): 23 * 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.0004749/1.096, allocations: 218.1 kB / 1.123 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001631/1.097, allocations: 0.6248 MB / 1.124 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.097, allocations: 0 / 1.124 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004491/1.098, allocations: 180.3 kB / 1.124 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.099, allocations: 301 kB / 1.124 GB, free: 256 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.101, allocations: 1.436 MB / 1.125 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/1.102, allocations: 0.9609 MB / 1.126 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006619/1.103, allocations: 172.9 kB / 1.127 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/1.103, allocations: 51.42 kB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/1.103, allocations: 0 / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of Templates: time 0.02316/1.126, allocations: 12.64 MB / 1.139 GB, free: 1.105 MB / 0.8887 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