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.001288/0.001288, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 179.3 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.289 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.514/2.514, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6799, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1804/0.8604, allocations: 170.1 MB / 1.122 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007226/0.8677, allocations: 3.304 MB / 1.125 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.8689, allocations: 15.88 kB / 1.125 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.8702, allocations: 294.3 kB / 1.125 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.8731, allocations: 0.9874 MB / 1.126 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.8758, allocations: 0.9093 MB / 1.127 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.8783, allocations: 1.984 MB / 1.129 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.8793, allocations: 0.5291 MB / 1.13 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.881, allocations: 0.677 MB / 1.13 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.8821, allocations: 0.5368 MB / 1.131 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.8823, allocations: 36 kB / 1.131 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.8843, allocations: 1.064 MB / 1.132 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.8847, allocations: 247 kB / 1.132 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006928/0.8854, allocations: 403.5 kB / 1.133 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.8866, allocations: 0.8846 MB / 1.133 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8866, allocations: 3.938 kB / 1.133 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8867, allocations: 0 / 1.133 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.985e-05/0.8867, allocations: 0 / 1.133 GB, free: 8.707 MB / 0.8887 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.003086/0.8898, allocations: 1.129 MB / 1.135 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8898, allocations: 8.031 kB / 1.135 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.8905, allocations: 126.9 kB / 1.135 GB, free: 7.395 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.8917, allocations: 0.721 MB / 1.135 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.8918, allocations: 33 kB / 1.135 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.8919, allocations: 47.91 kB / 1.135 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008412/0.8927, allocations: 462.2 kB / 1.136 GB, free: 6.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.8928, allocations: 3.984 kB / 1.136 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.8928, allocations: 19.94 kB / 1.136 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.8929, allocations: 20.66 kB / 1.136 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009408/0.8938, allocations: 370.3 kB / 1.136 GB, free: 5.684 MB / 0.8887 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.003469/0.8973, allocations: 1.92 MB / 1.138 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.898, allocations: 304.1 kB / 1.138 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.8984, allocations: 168.7 kB / 1.139 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.8987, allocations: 198.2 kB / 1.139 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.8987, allocations: 30.56 kB / 1.139 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 2.435e-06/0.8987, allocations: 0 / 1.139 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.002011/0.9008, allocations: 0.6804 MB / 1.139 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.9008, allocations: 55.41 kB / 1.14 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.9023, allocations: 0.8797 MB / 1.14 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/0.9023, allocations: 33.7 kB / 1.14 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.9026, allocations: 336.7 kB / 1.141 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.971e-05/0.9027, allocations: 90.66 kB / 1.141 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.9028, allocations: 29.7 kB / 1.141 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9029, allocations: 321.8 kB / 1.141 GB, free: 396 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.9032, allocations: 131.9 kB / 1.141 GB, free: 264 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.9037, allocations: 299.2 kB / 1.142 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.9044, allocations: 312.4 kB / 1.142 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9044, allocations: 0 / 1.142 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001163/0.9056, allocations: 477.9 kB / 1.142 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/0.9057, allocations: 110.7 kB / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9057, allocations: 0 / 1.142 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003772/0.9061, allocations: 64.78 kB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.9067, allocations: 103.9 kB / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006986/0.9074, allocations: 1.158 MB / 1.144 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.9083, allocations: 106.8 kB / 1.144 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.9084, allocations: 11.98 kB / 1.144 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.9084, allocations: 4 kB / 1.144 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000825/0.9092, allocations: 350 kB / 1.144 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.9092, allocations: 3.938 kB / 1.144 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.9094, allocations: 36.83 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.9098, allocations: 91.88 kB / 1.144 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.9111, allocations: 1.522 MB / 1.146 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/0.912, allocations: 101.8 kB / 1.146 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.912, allocations: 19.88 kB / 1.146 GB, free: 11.24 MB / 0.9044 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.9124, allocations: 273.1 kB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.9125, allocations: 75.06 kB / 1.146 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.9135, allocations: 470.4 kB / 1.147 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.9135, allocations: 0 / 1.147 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9136, allocations: 8 kB / 1.147 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9136, allocations: 0 / 1.147 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.9157, allocations: 1.21 MB / 1.148 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.9157, allocations: 0 / 1.148 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.9161, allocations: 71.81 kB / 1.148 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.9162, allocations: 40.83 kB / 1.148 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.9162, allocations: 8.188 kB / 1.148 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006481/0.9169, allocations: 1.154 MB / 1.149 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9169, allocations: 4.031 kB / 1.149 GB, free: 7.797 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.9182, allocations: 0.7318 MB / 1.15 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.9185, allocations: 212.1 kB / 1.15 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.9187, allocations: 8 kB / 1.15 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007468/0.9194, allocations: 59.84 kB / 1.15 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.9195, allocations: 24.14 kB / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.9195, allocations: 16 kB / 1.15 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001022/0.9206, allocations: 0.6396 MB / 1.151 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9206, allocations: 0 / 1.151 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009956/0.9216, allocations: 311.5 kB / 1.151 GB, free: 5.758 MB / 0.9044 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005367/0.9221, allocations: 219.1 kB / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.9238, allocations: 0.6205 MB / 1.152 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9238, allocations: 7.938 kB / 1.152 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.9243, allocations: 184.7 kB / 1.152 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.9261, allocations: 297.8 kB / 1.152 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.9286, allocations: 1.533 MB / 1.154 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/0.9294, allocations: 0.9375 MB / 1.155 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.9296, allocations: 59.41 kB / 1.155 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of SimCode: time 1.713e-06/0.9296, allocations: 4 kB / 1.155 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.02247/0.9521, allocations: 15.98 MB / 1.17 GB, free: 1.93 MB / 0.92 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches