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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 184.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.000928, allocations: 91.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.329e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2509, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.878/5.129, allocations: 1.94 GB / 3.146 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/5.13, allocations: 92.47 kB / 3.146 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.708/6.838, allocations: 0.5683 GB / 3.714 GB, free: 228.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.523e-06/6.838, allocations: 0 / 3.714 GB, free: 228.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001097/6.838, allocations: 35.28 kB / 3.714 GB, free: 228.9 MB / 1.151 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.002618/6.84, allocations: 1.451 MB / 3.716 GB, free: 227.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/6.84, allocations: 8.031 kB / 3.716 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/6.844, allocations: 477.4 kB / 3.716 GB, free: 226.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/6.847, allocations: 1.643 MB / 3.718 GB, free: 225.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/6.847, allocations: 24 kB / 3.718 GB, free: 225.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/6.847, allocations: 48 kB / 3.718 GB, free: 225.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001111/6.848, allocations: 0.6872 MB / 3.718 GB, free: 224.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/6.85, allocations: 0.7768 MB / 3.719 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/6.85, allocations: 3.984 kB / 3.719 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/6.85, allocations: 8 kB / 3.719 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/6.85, allocations: 26 kB / 3.719 GB, free: 223.6 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005325/6.855, allocations: 3.477 MB / 3.723 GB, free: 220 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/6.856, allocations: 0.6208 MB / 3.723 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/6.856, allocations: 324.3 kB / 3.723 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/6.857, allocations: 198.7 kB / 3.724 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/6.857, allocations: 39.12 kB / 3.724 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006136/6.857, allocations: 59.5 kB / 3.724 GB, free: 218.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 3.587e-06/6.857, allocations: 0 / 3.724 GB, free: 218.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.003451/6.861, allocations: 1.652 MB / 3.725 GB, free: 217 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/6.861, allocations: 55.97 kB / 3.725 GB, free: 217 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008874/6.862, allocations: 0.7347 MB / 3.726 GB, free: 216.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/6.862, allocations: 29.7 kB / 3.726 GB, free: 216.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/6.862, allocations: 0.5077 MB / 3.727 GB, free: 215.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/6.862, allocations: 193.1 kB / 3.727 GB, free: 215.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/6.862, allocations: 0 / 3.727 GB, free: 215.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/6.862, allocations: 341.9 kB / 3.727 GB, free: 215.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/6.863, allocations: 269.5 kB / 3.727 GB, free: 214.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/6.863, allocations: 470.5 kB / 3.728 GB, free: 214.3 MB / 1.151 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.003027/6.866, allocations: 1.123 MB / 3.729 GB, free: 213.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/6.866, allocations: 4 kB / 3.729 GB, free: 213.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001435/6.868, allocations: 0.8372 MB / 3.73 GB, free: 212.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/6.868, allocations: 1.658 MB / 3.731 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/6.868, allocations: 7.953 kB / 3.731 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/6.868, allocations: 8 kB / 3.731 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/6.869, allocations: 227.7 kB / 3.732 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006096/6.87, allocations: 0.6914 MB / 3.732 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/6.871, allocations: 71.88 kB / 3.732 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/6.871, allocations: 47.92 kB / 3.732 GB, free: 209.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/6.871, allocations: 4 kB / 3.732 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/6.873, allocations: 0.6611 MB / 3.733 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/6.873, allocations: 4 kB / 3.733 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/6.873, allocations: 11.98 kB / 3.733 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/6.874, allocations: 228.1 kB / 3.733 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/6.874, allocations: 19.88 kB / 3.733 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/6.875, allocations: 67.78 kB / 3.733 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/6.875, allocations: 43.98 kB / 3.733 GB, free: 208.5 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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.0002352/6.875, allocations: 120.5 kB / 3.734 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001096/6.876, allocations: 0.5916 MB / 3.734 GB, free: 207.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/6.876, allocations: 110.6 kB / 3.734 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/6.878, allocations: 0.6899 MB / 3.735 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/6.878, allocations: 4 kB / 3.735 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/6.878, allocations: 0 / 3.735 GB, free: 206.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008335/6.879, allocations: 0.6314 MB / 3.736 GB, free: 206.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003546/6.882, allocations: 1.934 MB / 3.737 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/6.882, allocations: 4 kB / 3.737 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/6.883, allocations: 156.2 kB / 3.738 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/6.883, allocations: 24.86 kB / 3.738 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/6.883, allocations: 15.98 kB / 3.738 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002698/6.883, allocations: 0.5679 MB / 3.738 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/6.883, allocations: 4 kB / 3.738 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/6.885, allocations: 1.276 MB / 3.739 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/6.885, allocations: 243.8 kB / 3.74 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/6.885, allocations: 11.95 kB / 3.74 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/6.886, allocations: 67.84 kB / 3.74 GB, free: 201.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/6.886, allocations: 47.88 kB / 3.74 GB, free: 201.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/6.886, allocations: 27.98 kB / 3.74 GB, free: 201.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007166/6.887, allocations: 0.5523 MB / 3.74 GB, free: 201 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.887, allocations: 0 / 3.74 GB, free: 201 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002168/6.889, allocations: 0.6158 MB / 3.741 GB, free: 200.4 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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.004597/6.894, allocations: 4.927 MB / 3.746 GB, free: 195.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002086/6.896, allocations: 1.065 MB / 3.747 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/6.896, allocations: 4 kB / 3.747 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004278/6.897, allocations: 293 kB / 3.747 GB, free: 194.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/6.899, allocations: 0.5092 MB / 3.748 GB, free: 193.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/6.903, allocations: 1.923 MB / 3.749 GB, free: 191.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/6.904, allocations: 1.176 MB / 3.751 GB, free: 190.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001845/6.906, allocations: 460.3 kB / 3.751 GB, free: 190 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/6.906, allocations: 411.3 kB / 3.751 GB, free: 189.6 MB / 1.151 GB Notification: Performance of SimCode: time 6.51e-07/6.906, allocations: 0 / 3.751 GB, free: 189.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/6.979, allocations: 43.98 MB / 3.794 GB, free: 145.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/6.979, allocations: 184.2 kB / 3.795 GB, free: 145.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.329/10.31, allocations: 4 kB / 3.795 GB, free: 145.6 MB / 1.151 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