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.268/2.268, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001378/0.001378, allocations: 185 kB / 498.1 MB, free: 5.656 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.613/1.613, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.00127, allocations: 106.7 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 12.12 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3231, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.319/4.643, allocations: 1.94 GB / 3.163 GB, free: 46.94 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/4.643, allocations: 92.3 kB / 3.163 GB, free: 46.89 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.456/7.099, allocations: 0.5755 GB / 3.739 GB, free: 291.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.432e-06/7.099, allocations: 0 / 3.739 GB, free: 291.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002064/7.099, allocations: 36.16 kB / 3.739 GB, free: 291.9 MB / 1.167 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.005901/7.105, allocations: 1.878 MB / 3.741 GB, free: 291.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/7.105, allocations: 14.52 kB / 3.741 GB, free: 291.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003916/7.106, allocations: 117 kB / 3.741 GB, free: 291.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003618/7.109, allocations: 480.3 kB / 3.741 GB, free: 291.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00531/7.115, allocations: 1.646 MB / 3.743 GB, free: 290.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/7.115, allocations: 64.25 kB / 3.743 GB, free: 290.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/7.115, allocations: 88.5 kB / 3.743 GB, free: 290.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/7.118, allocations: 0.9432 MB / 3.744 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/7.118, allocations: 6.953 kB / 3.744 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/7.118, allocations: 29.22 kB / 3.744 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/7.118, allocations: 27.94 kB / 3.744 GB, free: 290.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/7.12, allocations: 0.7845 MB / 3.745 GB, free: 290.7 MB / 1.167 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.008018/7.128, allocations: 3.634 MB / 3.748 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/7.13, allocations: 0.6583 MB / 3.749 GB, free: 289.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/7.13, allocations: 205.8 kB / 3.749 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/7.13, allocations: 40.33 kB / 3.749 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006029/7.131, allocations: 78.17 kB / 3.749 GB, free: 289.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 3.466e-06/7.131, allocations: 0 / 3.749 GB, free: 289.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.004541/7.135, allocations: 1.99 MB / 3.751 GB, free: 288.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/7.135, allocations: 55.88 kB / 3.751 GB, free: 288.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/7.136, allocations: 0.8226 MB / 3.752 GB, free: 288.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/7.136, allocations: 40.17 kB / 3.752 GB, free: 288.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/7.137, allocations: 0.5116 MB / 3.753 GB, free: 288.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/7.137, allocations: 201.3 kB / 3.753 GB, free: 288.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/7.137, allocations: 14.66 kB / 3.753 GB, free: 288.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.176e-05/7.137, allocations: 336.2 kB / 3.753 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/7.138, allocations: 304.2 kB / 3.753 GB, free: 287.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/7.138, allocations: 0.5022 MB / 3.754 GB, free: 287.7 MB / 1.167 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.005505/7.144, allocations: 1.412 MB / 3.755 GB, free: 287.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.144, allocations: 0.8438 kB / 3.755 GB, free: 287.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00179/7.146, allocations: 0.9208 MB / 3.756 GB, free: 287.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003911/7.146, allocations: 1.66 MB / 3.758 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/7.146, allocations: 7.531 kB / 3.758 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/7.146, allocations: 7.531 kB / 3.758 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/7.147, allocations: 226.4 kB / 3.758 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005372/7.148, allocations: 0.6376 MB / 3.759 GB, free: 285.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/7.149, allocations: 77.3 kB / 3.759 GB, free: 285.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/7.149, allocations: 41.73 kB / 3.759 GB, free: 285.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/7.149, allocations: 6.906 kB / 3.759 GB, free: 285.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/7.151, allocations: 0.7906 MB / 3.76 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/7.151, allocations: 12.33 kB / 3.76 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/7.151, allocations: 7.406 kB / 3.76 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/7.152, allocations: 230.5 kB / 3.76 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/7.152, allocations: 14.66 kB / 3.76 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/7.153, allocations: 75.28 kB / 3.76 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.526e-05/7.153, allocations: 43.94 kB / 3.76 GB, free: 285.1 MB / 1.167 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 (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.0008173/7.154, allocations: 431.2 kB / 3.76 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/7.154, allocations: 104.3 kB / 3.76 GB, free: 284.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/7.156, allocations: 0.8087 MB / 3.761 GB, free: 284.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/7.156, allocations: 7.844 kB / 3.761 GB, free: 284.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/7.156, allocations: 0 / 3.761 GB, free: 284.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/7.158, allocations: 0.7352 MB / 3.762 GB, free: 284.7 MB / 1.167 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.003892/7.161, allocations: 2.153 MB / 3.764 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/7.161, allocations: 3.875 kB / 3.764 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/7.162, allocations: 149.7 kB / 3.764 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/7.162, allocations: 37.56 kB / 3.764 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/7.162, allocations: 21.34 kB / 3.764 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002611/7.163, allocations: 0.5606 MB / 3.765 GB, free: 283.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/7.163, allocations: 7.5 kB / 3.765 GB, free: 283.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/7.165, allocations: 1.436 MB / 3.766 GB, free: 283.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005908/7.165, allocations: 247.8 kB / 3.766 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/7.166, allocations: 16.97 kB / 3.767 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/7.166, allocations: 79.34 kB / 3.767 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/7.167, allocations: 45.34 kB / 3.767 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/7.167, allocations: 34.64 kB / 3.767 GB, free: 282.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001072/7.168, allocations: 0.6458 MB / 3.767 GB, free: 282.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/7.168, allocations: 3.938 kB / 3.767 GB, free: 282.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002796/7.171, allocations: 0.6894 MB / 3.768 GB, free: 282.8 MB / 1.167 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 (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.00628/7.177, allocations: 4.964 MB / 3.773 GB, free: 280.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003112/7.18, allocations: 1.202 MB / 3.774 GB, free: 280.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/7.18, allocations: 0 / 3.774 GB, free: 280.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/7.181, allocations: 351.7 kB / 3.774 GB, free: 280.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/7.183, allocations: 0.5374 MB / 3.775 GB, free: 280.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007013/7.19, allocations: 6.024 MB / 3.781 GB, free: 275.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/7.191, allocations: 1.184 MB / 3.782 GB, free: 275.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001644/7.193, allocations: 338.2 kB / 3.782 GB, free: 275.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007682/7.194, allocations: 427 kB / 3.783 GB, free: 275.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.453e-06/7.194, allocations: 3.828 kB / 3.783 GB, free: 275.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09396/7.288, allocations: 57.94 MB / 3.839 GB, free: 267.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/7.288, allocations: 257.2 kB / 3.839 GB, free: 267.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.019/11.31, allocations: 0 / 3.839 GB, free: 267.5 MB / 1.167 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