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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009311, 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.001095/0.001095, 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004664, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8238/0.8243, allocations: 142.3 MB / 0.9538 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow): time 0.2124/1.037, allocations: 175.5 MB / 1.125 GB, free: 152 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01421/1.051, allocations: 9.59 MB / 1.135 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/1.053, allocations: 39.75 kB / 1.135 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/1.055, allocations: 488.9 kB / 1.135 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005194/1.06, allocations: 1.653 MB / 1.137 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/1.063, allocations: 0.9209 MB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005114/1.068, allocations: 3.337 MB / 1.141 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/1.069, allocations: 0.809 MB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/1.072, allocations: 1.058 MB / 1.143 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/1.074, allocations: 0.8677 MB / 1.144 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/1.074, allocations: 48 kB / 1.144 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/1.078, allocations: 1.107 MB / 1.145 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005922/1.078, allocations: 426.6 kB / 1.145 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004873/1.079, allocations: 285 kB / 1.145 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/1.082, allocations: 1.925 MB / 1.147 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.082, allocations: 0 / 1.147 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.186e-06/1.082, allocations: 4 kB / 1.147 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.677e-05/1.082, allocations: 0 / 1.147 GB, free: 9.559 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.003529/1.085, allocations: 1.54 MB / 1.149 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.086, allocations: 12.03 kB / 1.149 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/1.086, allocations: 114.5 kB / 1.149 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/1.089, allocations: 0.4901 MB / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/1.091, allocations: 1.114 MB / 1.15 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/1.091, allocations: 65.81 kB / 1.151 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/1.092, allocations: 84 kB / 1.151 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/1.093, allocations: 0.9594 MB / 1.152 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/1.093, allocations: 0 / 1.152 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/1.093, allocations: 24 kB / 1.152 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/1.094, allocations: 37.98 kB / 1.152 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/1.095, allocations: 0.808 MB / 1.152 GB, free: 4.18 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.00573/1.101, allocations: 3.629 MB / 1.156 GB, free: 364 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.103, allocations: 0.6773 MB / 1.157 GB, free: 15.67 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/1.103, allocations: 359.6 kB / 1.157 GB, free: 15.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.104, allocations: 194.6 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.104, allocations: 39 kB / 1.157 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000494/1.104, allocations: 71.48 kB / 1.157 GB, free: 14.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=52): time 2.184e-06/1.104, allocations: 0 / 1.157 GB, free: 14.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=54): time 0.004542/1.109, allocations: 1.977 MB / 1.159 GB, free: 12.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/1.109, allocations: 59.78 kB / 1.159 GB, free: 12.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.11, allocations: 0.9377 MB / 1.16 GB, free: 11.92 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/1.11, allocations: 45.7 kB / 1.16 GB, free: 11.87 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/1.111, allocations: 0.5115 MB / 1.161 GB, free: 11.35 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.111, allocations: 185.3 kB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/1.111, allocations: 19.98 kB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.111, allocations: 330 kB / 1.161 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/1.112, allocations: 313.8 kB / 1.161 GB, free: 10.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/1.112, allocations: 497.2 kB / 1.162 GB, free: 9.953 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.005334/1.118, allocations: 1.421 MB / 1.163 GB, free: 8.516 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.118, allocations: 4 kB / 1.163 GB, free: 8.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001929/1.12, allocations: 0.9312 MB / 1.164 GB, free: 7.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.12, allocations: 210.8 kB / 1.164 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.12, allocations: 4 kB / 1.164 GB, free: 7.301 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.12, allocations: 8 kB / 1.164 GB, free: 7.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/1.121, allocations: 223.6 kB / 1.165 GB, free: 7.074 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005733/1.122, allocations: 0.6523 MB / 1.165 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/1.123, allocations: 79.88 kB / 1.165 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/1.123, allocations: 39.98 kB / 1.165 GB, free: 6.281 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.123, allocations: 5.094 kB / 1.165 GB, free: 6.277 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001615/1.125, allocations: 0.8332 MB / 1.166 GB, free: 5.441 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.125, allocations: 4 kB / 1.166 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.125, allocations: 8 kB / 1.166 GB, free: 5.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/1.126, allocations: 219.9 kB / 1.166 GB, free: 5.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.126, allocations: 12 kB / 1.166 GB, free: 5.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009505/1.127, allocations: 75.8 kB / 1.167 GB, free: 5.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/1.127, allocations: 36 kB / 1.167 GB, free: 5.094 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.0007369/1.127, allocations: 428.8 kB / 1.167 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/1.128, allocations: 98.78 kB / 1.167 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.129, allocations: 0.8032 MB / 1.168 GB, free: 3.762 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/1.129, allocations: 4 kB / 1.168 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.129, allocations: 0 / 1.168 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.131, allocations: 0.729 MB / 1.169 GB, free: 2.992 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.00366/1.134, allocations: 2.113 MB / 1.171 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.134, allocations: 4 kB / 1.171 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/1.135, allocations: 132.3 kB / 1.171 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/1.135, allocations: 40.84 kB / 1.171 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/1.135, allocations: 23.98 kB / 1.171 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003922/1.136, allocations: 0.5717 MB / 1.171 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.136, allocations: 7.938 kB / 1.171 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/1.138, allocations: 1.267 MB / 1.173 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/1.138, allocations: 247.7 kB / 1.173 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.138, allocations: 20 kB / 1.173 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/1.139, allocations: 67.94 kB / 1.173 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/1.139, allocations: 43.84 kB / 1.173 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/1.139, allocations: 27.98 kB / 1.173 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009838/1.14, allocations: 0.6508 MB / 1.174 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.31e-07/1.14, allocations: 0 / 1.174 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00165/1.142, allocations: 0.4999 MB / 1.174 GB, free: 13.05 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.003263/1.145, allocations: 2.018 MB / 1.176 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00285/1.148, allocations: 1.213 MB / 1.177 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.148, allocations: 0 / 1.177 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007321/1.149, allocations: 353.5 kB / 1.178 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.151, allocations: 0.5454 MB / 1.178 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.165, allocations: 6.794 MB / 1.185 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.166, allocations: 1.155 MB / 1.186 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001484/1.167, allocations: 336.7 kB / 1.186 GB, free: 244 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/1.168, allocations: 431.3 kB / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/1.168, allocations: 0 / 1.187 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/1.225, allocations: 31.91 MB / 1.218 GB, free: 404 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.225, allocations: 269.6 kB / 1.218 GB, free: 28 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.743, allocations: 8 kB / 1.218 GB, free: 20 kB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow_res.mat does not exist to compare? outputFormat=mat