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.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.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.001202/0.001202, allocations: 92.16 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.001736/0.001736, allocations: 172.9 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.348 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.493/2.493, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7212, allocations: 142.4 MB / 0.9557 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow): time 0.2166/0.9378, allocations: 188.1 MB / 1.139 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.9539, allocations: 10.24 MB / 1.149 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.9555, allocations: 35.75 kB / 1.149 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/0.9578, allocations: 0.6609 MB / 1.15 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006036/0.9638, allocations: 2.124 MB / 1.152 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.9671, allocations: 1.141 MB / 1.153 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005177/0.9723, allocations: 3.93 MB / 1.157 GB, free: 392 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.9742, allocations: 0.9326 MB / 1.158 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.9772, allocations: 1.113 MB / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.9795, allocations: 0.9159 MB / 1.16 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003565/0.9799, allocations: 48 kB / 1.16 GB, free: 13.35 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.9843, allocations: 2.217 MB / 1.162 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007907/0.9851, allocations: 430.5 kB / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/0.9864, allocations: 0.6468 MB / 1.163 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.9897, allocations: 2.034 MB / 1.165 GB, free: 8.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.9897, allocations: 8 kB / 1.165 GB, free: 8 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9897, allocations: 0 / 1.165 GB, free: 8 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.016e-05/0.9898, allocations: 0 / 1.165 GB, free: 8 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.003465/0.9932, allocations: 1.522 MB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.9933, allocations: 8.031 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.9969, allocations: 0.4901 MB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.9998, allocations: 1.152 MB / 1.168 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/0.9999, allocations: 65.86 kB / 1.168 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/1, allocations: 80 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/1.002, allocations: 0.9632 MB / 1.169 GB, free: 3.59 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/1.003, allocations: 3.906 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.003, allocations: 32 kB / 1.169 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/1.003, allocations: 29.98 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.005, allocations: 0.8197 MB / 1.17 GB, free: 2.703 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.006538/1.011, allocations: 3.621 MB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/1.013, allocations: 0.6799 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/1.014, allocations: 364.1 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/1.014, allocations: 198.6 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/1.014, allocations: 38.94 kB / 1.175 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005335/1.015, allocations: 67.5 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=52): time 4.989e-06/1.015, allocations: 4 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54): time 0.00517/1.02, allocations: 1.985 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.02, allocations: 55.84 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/1.022, allocations: 0.9455 MB / 1.178 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/1.022, allocations: 37.7 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/1.022, allocations: 0.5154 MB / 1.179 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/1.022, allocations: 189.1 kB / 1.179 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/1.023, allocations: 65.69 kB / 1.179 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.023, allocations: 341.9 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/1.023, allocations: 361.8 kB / 1.18 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000934/1.024, allocations: 0.5363 MB / 1.18 GB, free: 8.305 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.008222/1.033, allocations: 2.356 MB / 1.182 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/1.033, allocations: 4 kB / 1.182 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0023/1.035, allocations: 1.025 MB / 1.183 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/1.035, allocations: 218.7 kB / 1.184 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.035, allocations: 11.92 kB / 1.184 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.035, allocations: 11.94 kB / 1.184 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.036, allocations: 207.8 kB / 1.184 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006229/1.037, allocations: 0.6484 MB / 1.184 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/1.038, allocations: 75.97 kB / 1.184 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/1.038, allocations: 36 kB / 1.185 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.038, allocations: 4 kB / 1.185 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/1.04, allocations: 0.8488 MB / 1.185 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.04, allocations: 4.062 kB / 1.185 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/1.04, allocations: 12 kB / 1.185 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.041, allocations: 219.8 kB / 1.186 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/1.041, allocations: 19.88 kB / 1.186 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.042, allocations: 71.8 kB / 1.186 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/1.042, allocations: 39.98 kB / 1.186 GB, free: 2.34 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.000693/1.043, allocations: 425.9 kB / 1.186 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/1.043, allocations: 102.7 kB / 1.186 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/1.045, allocations: 0.7915 MB / 1.187 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/1.045, allocations: 15.94 kB / 1.187 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.045, allocations: 0 / 1.187 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/1.047, allocations: 0.729 MB / 1.188 GB, free: 240 kB / 0.9356 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.004246/1.051, allocations: 2.097 MB / 1.19 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.051, allocations: 4 kB / 1.19 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/1.052, allocations: 139.8 kB / 1.19 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/1.052, allocations: 49.12 kB / 1.19 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/1.052, allocations: 19.98 kB / 1.19 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004221/1.053, allocations: 0.5757 MB / 1.191 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.053, allocations: 4 kB / 1.191 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/1.055, allocations: 1.263 MB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/1.056, allocations: 251.8 kB / 1.192 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/1.056, allocations: 19.98 kB / 1.192 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/1.057, allocations: 75.88 kB / 1.192 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.057, allocations: 47.77 kB / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/1.057, allocations: 23.98 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001247/1.058, allocations: 0.6586 MB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.058, allocations: 0 / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001882/1.06, allocations: 0.4961 MB / 1.193 GB, free: 10.29 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.0009549/1.061, allocations: 314.2 kB / 1.194 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003386/1.065, allocations: 1.261 MB / 1.195 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.065, allocations: 0 / 1.195 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008561/1.066, allocations: 352.5 kB / 1.195 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.069, allocations: 0.5515 MB / 1.196 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/1.074, allocations: 2.675 MB / 1.198 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009725/1.075, allocations: 1.151 MB / 1.199 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/1.075, allocations: 91.41 kB / 1.2 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of SimCode: time 7.91e-07/1.075, allocations: 0 / 1.2 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of Templates: time 0.03627/1.111, allocations: 24.01 MB / 1.223 GB, free: 11.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches