Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Movers.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan.P|fan.dpMachine|fan.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fan.P|fan.dpMachine|fan.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008627/0.008627, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.583/2.583, allocations: 390.9 MB / 0.6663 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 16 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7675/0.7678, allocations: 142.4 MB / 0.955 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow): time 0.2143/0.9821, allocations: 188.1 MB / 1.139 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.9977, allocations: 10.24 MB / 1.149 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.9994, allocations: 43.75 kB / 1.149 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/1.001, allocations: 0.657 MB / 1.149 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006103/1.008, allocations: 2.113 MB / 1.152 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/1.011, allocations: 1.147 MB / 1.153 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005895/1.017, allocations: 3.939 MB / 1.156 GB, free: 372 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/1.019, allocations: 0.9287 MB / 1.157 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/1.022, allocations: 1.109 MB / 1.158 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/1.024, allocations: 0.9118 MB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/1.024, allocations: 52 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/1.029, allocations: 2.217 MB / 1.162 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005386/1.029, allocations: 426.6 kB / 1.162 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008037/1.03, allocations: 0.639 MB / 1.163 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004104/1.034, allocations: 2.777 MB / 1.165 GB, free: 7.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.034, allocations: 0 / 1.165 GB, free: 7.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/1.034, allocations: 0 / 1.165 GB, free: 7.262 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.157e-05/1.034, allocations: 0 / 1.165 GB, free: 7.262 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003229/1.037, allocations: 1.522 MB / 1.167 GB, free: 5.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.037, allocations: 12.03 kB / 1.167 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/1.041, allocations: 0.4901 MB / 1.167 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/1.043, allocations: 1.152 MB / 1.168 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.359e-05/1.043, allocations: 65.84 kB / 1.168 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/1.043, allocations: 80 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.045, allocations: 0.9632 MB / 1.169 GB, free: 2.848 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.045, allocations: 7.906 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/1.045, allocations: 28 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/1.045, allocations: 37.98 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.047, allocations: 0.8119 MB / 1.17 GB, free: 1.961 MB / 0.92 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.005491/1.053, allocations: 3.629 MB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.054, allocations: 0.6771 MB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007281/1.055, allocations: 366.9 kB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003238/1.055, allocations: 202.6 kB / 1.175 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.055, allocations: 39 kB / 1.175 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000368/1.056, allocations: 71.5 kB / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=52): time 2.034e-06/1.056, allocations: 0 / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54): time 0.004649/1.06, allocations: 1.977 MB / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.06, allocations: 59.84 kB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.062, allocations: 0.9416 MB / 1.178 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/1.062, allocations: 37.7 kB / 1.178 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/1.062, allocations: 0.5154 MB / 1.179 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/1.062, allocations: 193.1 kB / 1.179 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.062, allocations: 73.67 kB / 1.179 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.063, allocations: 337.9 kB / 1.179 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007734/1.063, allocations: 369.7 kB / 1.18 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008916/1.064, allocations: 0.5324 MB / 1.18 GB, free: 7.547 MB / 0.9356 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (101325.0 = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007833/1.072, allocations: 2.348 MB / 1.182 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.072, allocations: 4 kB / 1.182 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002106/1.074, allocations: 1.029 MB / 1.183 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/1.074, allocations: 220.5 kB / 1.184 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.074, allocations: 4 kB / 1.184 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.074, allocations: 11.94 kB / 1.184 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.076, allocations: 203.8 kB / 1.184 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006262/1.076, allocations: 0.6562 MB / 1.184 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.077, allocations: 72.05 kB / 1.185 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-05/1.077, allocations: 35.98 kB / 1.185 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/1.077, allocations: 4 kB / 1.185 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001617/1.079, allocations: 0.841 MB / 1.185 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.079, allocations: 4 kB / 1.185 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.079, allocations: 11.98 kB / 1.185 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.08, allocations: 215.8 kB / 1.186 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.08, allocations: 19.86 kB / 1.186 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/1.081, allocations: 79.78 kB / 1.186 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/1.081, allocations: 39.98 kB / 1.186 GB, free: 1.598 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (82): * Single equations (assignments): 80 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0006677/1.082, allocations: 420.8 kB / 1.186 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.082, allocations: 106.7 kB / 1.186 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.084, allocations: 0.7955 MB / 1.187 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.084, allocations: 7.938 kB / 1.187 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.084, allocations: 0 / 1.187 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/1.085, allocations: 0.7329 MB / 1.188 GB, free: 15.49 MB / 0.9512 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 postOpt removeSimpleEquations (simulation): time 0.003812/1.089, allocations: 2.097 MB / 1.19 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.089, allocations: 4 kB / 1.19 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/1.09, allocations: 148.3 kB / 1.19 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/1.09, allocations: 44.77 kB / 1.19 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/1.09, allocations: 23.98 kB / 1.19 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003625/1.091, allocations: 0.5718 MB / 1.191 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.091, allocations: 4 kB / 1.191 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/1.093, allocations: 1.271 MB / 1.192 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/1.094, allocations: 247.8 kB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.094, allocations: 19.98 kB / 1.192 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.095, allocations: 67.88 kB / 1.192 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.095, allocations: 43.89 kB / 1.192 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/1.095, allocations: 35.92 kB / 1.192 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001294/1.096, allocations: 0.6508 MB / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.296e-06/1.096, allocations: 0 / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002436/1.099, allocations: 0.5038 MB / 1.193 GB, free: 9.535 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.filter.s[1],fan.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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/1.1, allocations: 303.6 kB / 1.194 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004709/1.105, allocations: 1.264 MB / 1.195 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.105, allocations: 0 / 1.195 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.106, allocations: 353.1 kB / 1.195 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005077/1.111, allocations: 0.543 MB / 1.196 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/1.117, allocations: 2.603 MB / 1.198 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/1.119, allocations: 1.151 MB / 1.199 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002801/1.122, allocations: 340.7 kB / 1.2 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/1.122, allocations: 87.42 kB / 1.2 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of SimCode: time 1.243e-06/1.122, allocations: 3.938 kB / 1.2 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of Templates: time 0.07462/1.197, allocations: 22.01 MB / 1.221 GB, free: 13.1 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_NegativePressureOrFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches