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.001027/0.001027, allocations: 92 kB / 15.06 MB, free: 1.098 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.001298/0.001298, allocations: 172.7 kB / 15.95 MB, free: 208 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.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.422 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.425/2.425, allocations: 390.9 MB / 0.666 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004532, allocations: 12 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.8141, allocations: 142.4 MB / 0.9544 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow): time 0.2192/1.033, allocations: 175.5 MB / 1.126 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01543/1.049, allocations: 9.586 MB / 1.135 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.051, allocations: 35.75 kB / 1.135 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/1.052, allocations: 496.9 kB / 1.136 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005587/1.058, allocations: 1.649 MB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/1.061, allocations: 0.9253 MB / 1.138 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005/1.066, allocations: 3.337 MB / 1.141 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.067, allocations: 0.8051 MB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/1.07, allocations: 1.066 MB / 1.143 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/1.071, allocations: 0.8677 MB / 1.144 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/1.071, allocations: 48 kB / 1.144 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/1.074, allocations: 1.107 MB / 1.145 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/1.075, allocations: 426.7 kB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/1.075, allocations: 281 kB / 1.146 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/1.078, allocations: 1.921 MB / 1.148 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.078, allocations: 0 / 1.148 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.484e-06/1.078, allocations: 4 kB / 1.148 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.288e-05/1.078, allocations: 0 / 1.148 GB, free: 9.09 MB / 0.9044 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.003048/1.081, allocations: 1.534 MB / 1.149 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.081, allocations: 11.97 kB / 1.149 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.084, allocations: 497.8 kB / 1.15 GB, free: 7 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/1.087, allocations: 1.114 MB / 1.151 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/1.087, allocations: 65.81 kB / 1.151 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/1.087, allocations: 91.98 kB / 1.151 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/1.089, allocations: 0.9516 MB / 1.152 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.089, allocations: 4 kB / 1.152 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/1.089, allocations: 28 kB / 1.152 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/1.089, allocations: 37.92 kB / 1.152 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/1.091, allocations: 0.8041 MB / 1.153 GB, free: 3.832 MB / 0.9044 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.006299/1.097, allocations: 3.633 MB / 1.156 GB, free: 4 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.099, allocations: 0.6771 MB / 1.157 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/1.099, allocations: 362 kB / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003969/1.1, allocations: 194.6 kB / 1.158 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.1, allocations: 39 kB / 1.158 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000462/1.1, allocations: 67.5 kB / 1.158 GB, free: 14.62 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.454e-06/1.1, allocations: 0 / 1.158 GB, free: 14.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.004874/1.105, allocations: 1.977 MB / 1.16 GB, free: 12.59 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.105, allocations: 59.84 kB / 1.16 GB, free: 12.52 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.107, allocations: 0.9377 MB / 1.161 GB, free: 11.57 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/1.107, allocations: 41.7 kB / 1.161 GB, free: 11.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/1.107, allocations: 0.5115 MB / 1.161 GB, free: 11 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/1.108, allocations: 193.3 kB / 1.161 GB, free: 10.81 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/1.108, allocations: 8 kB / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.108, allocations: 337.9 kB / 1.162 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/1.109, allocations: 313.8 kB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/1.109, allocations: 0.4895 MB / 1.162 GB, free: 9.602 MB / 0.92 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.005496/1.115, allocations: 1.408 MB / 1.164 GB, free: 8.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.115, allocations: 7.984 kB / 1.164 GB, free: 8.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001943/1.117, allocations: 0.939 MB / 1.165 GB, free: 7.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.117, allocations: 210.8 kB / 1.165 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.117, allocations: 4 kB / 1.165 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.117, allocations: 8 kB / 1.165 GB, free: 6.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.118, allocations: 211.7 kB / 1.165 GB, free: 6.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/1.119, allocations: 0.6524 MB / 1.166 GB, free: 6.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009942/1.12, allocations: 91.81 kB / 1.166 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/1.12, allocations: 35.98 kB / 1.166 GB, free: 5.934 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.12, allocations: 4 kB / 1.166 GB, free: 5.93 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001607/1.122, allocations: 0.8332 MB / 1.167 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.122, allocations: 11.94 kB / 1.167 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/1.122, allocations: 8 kB / 1.167 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009546/1.123, allocations: 215.8 kB / 1.167 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.123, allocations: 8 kB / 1.167 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/1.123, allocations: 71.84 kB / 1.167 GB, free: 4.785 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/1.123, allocations: 43.95 kB / 1.167 GB, free: 4.742 MB / 0.92 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0008562/1.124, allocations: 428.1 kB / 1.167 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/1.124, allocations: 98.78 kB / 1.168 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/1.126, allocations: 0.8031 MB / 1.168 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/1.126, allocations: 4 kB / 1.168 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.126, allocations: 0 / 1.168 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/1.128, allocations: 0.7252 MB / 1.169 GB, free: 2.648 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 postOpt removeSimpleEquations (simulation): time 0.003684/1.131, allocations: 2.109 MB / 1.171 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.131, allocations: 7.984 kB / 1.171 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/1.132, allocations: 135.9 kB / 1.171 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/1.132, allocations: 41.22 kB / 1.171 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/1.132, allocations: 19.98 kB / 1.171 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004301/1.133, allocations: 0.5757 MB / 1.172 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.133, allocations: 7.938 kB / 1.172 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/1.135, allocations: 1.267 MB / 1.173 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/1.135, allocations: 247.7 kB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.136, allocations: 16 kB / 1.173 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/1.136, allocations: 71.94 kB / 1.173 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/1.136, allocations: 47.84 kB / 1.173 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.082e-05/1.136, allocations: 23.98 kB / 1.173 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009864/1.137, allocations: 0.6508 MB / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.673e-06/1.137, allocations: 0 / 1.174 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001547/1.139, allocations: 0.5038 MB / 1.175 GB, free: 12.7 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007962/1.14, allocations: 312.8 kB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00283/1.143, allocations: 1.206 MB / 1.176 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.143, allocations: 4 kB / 1.176 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/1.143, allocations: 360.7 kB / 1.176 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.146, allocations: 0.5266 MB / 1.177 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/1.15, allocations: 2.578 MB / 1.179 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/1.151, allocations: 1.159 MB / 1.181 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001299/1.152, allocations: 336.7 kB / 1.181 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/1.152, allocations: 87.41 kB / 1.181 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/1.152, allocations: 0 / 1.181 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of Templates: time 0.03844/1.191, allocations: 21.43 MB / 1.202 GB, free: 0.9219 MB / 0.9512 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