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.001354/0.001354, 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.00155/0.001551, allocations: 177.3 kB / 15.95 MB, free: 216 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.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.365/2.365, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003336, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8221/0.8224, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow): time 0.2103/1.033, allocations: 160.2 MB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0143/1.047, allocations: 9.241 MB / 1.119 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/1.049, allocations: 35.75 kB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/1.051, allocations: 0.6339 MB / 1.12 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00605/1.057, allocations: 1.783 MB / 1.121 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/1.061, allocations: 1.19 MB / 1.123 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003392/1.064, allocations: 1.702 MB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/1.066, allocations: 0.8287 MB / 1.125 GB, free: 64 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/1.068, allocations: 1.032 MB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/1.069, allocations: 0.5952 MB / 1.127 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/1.069, allocations: 44 kB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/1.072, allocations: 0.9829 MB / 1.128 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004757/1.072, allocations: 386.9 kB / 1.128 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/1.072, allocations: 281 kB / 1.128 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/1.075, allocations: 1.828 MB / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/1.075, allocations: 0 / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/1.075, allocations: 0 / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.673e-05/1.075, allocations: 0 / 1.13 GB, free: 10.91 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002897/1.078, allocations: 1.499 MB / 1.132 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.078, allocations: 12.03 kB / 1.132 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/1.081, allocations: 0.4939 MB / 1.132 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/1.084, allocations: 1.143 MB / 1.133 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/1.084, allocations: 69.81 kB / 1.133 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/1.084, allocations: 83.98 kB / 1.133 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/1.085, allocations: 0.9476 MB / 1.134 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.085, allocations: 0 / 1.134 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/1.086, allocations: 28 kB / 1.134 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/1.086, allocations: 34 kB / 1.134 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/1.087, allocations: 0.7924 MB / 1.135 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.005297/1.093, allocations: 3.609 MB / 1.139 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/1.094, allocations: 0.6751 MB / 1.139 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-05/1.094, allocations: 24.41 kB / 1.139 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.094, allocations: 39 kB / 1.139 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004307/1.095, allocations: 63.52 kB / 1.139 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/1.095, allocations: 0 / 1.139 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54): time 0.004535/1.099, allocations: 1.942 MB / 1.141 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.099, allocations: 59.84 kB / 1.141 GB, free: 15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.101, allocations: 0.926 MB / 1.142 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.99e-05/1.101, allocations: 41.7 kB / 1.142 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/1.101, allocations: 0.5076 MB / 1.143 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/1.101, allocations: 197.2 kB / 1.143 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/1.101, allocations: 12 kB / 1.143 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.102, allocations: 333.9 kB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/1.102, allocations: 309.8 kB / 1.144 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/1.103, allocations: 489.2 kB / 1.144 GB, free: 12.11 MB / 0.9044 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.005684/1.109, allocations: 1.404 MB / 1.145 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.109, allocations: 0 / 1.145 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001836/1.11, allocations: 0.9311 MB / 1.146 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006964/1.111, allocations: 1.653 MB / 1.148 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.111, allocations: 4 kB / 1.148 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.111, allocations: 11.95 kB / 1.148 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.112, allocations: 219.7 kB / 1.148 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005683/1.113, allocations: 0.6407 MB / 1.149 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.114, allocations: 79.94 kB / 1.149 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/1.114, allocations: 39.98 kB / 1.149 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/1.114, allocations: 4 kB / 1.149 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001464/1.116, allocations: 0.8176 MB / 1.15 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.116, allocations: 4 kB / 1.15 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/1.116, allocations: 8 kB / 1.15 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/1.117, allocations: 227.8 kB / 1.15 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.117, allocations: 8 kB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/1.117, allocations: 71.84 kB / 1.15 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/1.118, allocations: 39.98 kB / 1.15 GB, free: 5.773 MB / 0.9044 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.0007024/1.118, allocations: 428.8 kB / 1.15 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/1.118, allocations: 102.7 kB / 1.151 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/1.12, allocations: 0.7876 MB / 1.151 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/1.12, allocations: 8 kB / 1.151 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.12, allocations: 0 / 1.151 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/1.121, allocations: 0.7211 MB / 1.152 GB, free: 3.688 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 postOpt removeSimpleEquations (simulation): time 0.003614/1.125, allocations: 2.132 MB / 1.154 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.125, allocations: 0 / 1.154 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/1.126, allocations: 144.2 kB / 1.154 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/1.126, allocations: 40.89 kB / 1.154 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/1.126, allocations: 24 kB / 1.154 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003559/1.126, allocations: 0.5796 MB / 1.155 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.126, allocations: 4 kB / 1.155 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/1.129, allocations: 1.405 MB / 1.156 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/1.129, allocations: 243.8 kB / 1.156 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.129, allocations: 27.92 kB / 1.156 GB, free: 14.78 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007024/1.13, allocations: 73.52 kB / 1.157 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/1.13, allocations: 47.84 kB / 1.157 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.682e-05/1.13, allocations: 27.98 kB / 1.157 GB, free: 14.64 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008614/1.131, allocations: 0.6352 MB / 1.157 GB, free: 13.99 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.131, allocations: 0 / 1.157 GB, free: 13.99 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00156/1.132, allocations: 0.4961 MB / 1.158 GB, free: 13.5 MB / 0.92 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.0007048/1.133, allocations: 307.1 kB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002822/1.136, allocations: 1.195 MB / 1.159 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.136, allocations: 4 kB / 1.159 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007139/1.137, allocations: 348.6 kB / 1.16 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.139, allocations: 0.5416 MB / 1.16 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/1.143, allocations: 2.563 MB / 1.163 GB, free: 8.488 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/1.143, allocations: 1.178 MB / 1.164 GB, free: 7.277 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001269/1.145, allocations: 336.7 kB / 1.164 GB, free: 6.945 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/1.145, allocations: 91.41 kB / 1.164 GB, free: 6.855 MB / 0.92 GB Notification: Performance of SimCode: time 6.92e-07/1.145, allocations: 0 / 1.164 GB, free: 6.855 MB / 0.92 GB Notification: Performance of Templates: time 0.03648/1.181, allocations: 21.22 MB / 1.185 GB, free: 1.922 MB / 0.9356 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","../files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches