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: 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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001054/0.001054, allocations: 176.2 kB / 498.1 MB, free: 5.719 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.573/1.573, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.001506/0.001506, allocations: 96.27 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003996, allocations: 6.75 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3767, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.891/5.267, allocations: 1.94 GB / 3.163 GB, free: 72.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/5.268, allocations: 91.95 kB / 3.163 GB, free: 72.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.852/8.12, allocations: 0.5755 GB / 3.739 GB, free: 290.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.034e-06/8.12, allocations: 0.7812 kB / 3.739 GB, free: 290.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002843/8.12, allocations: 35.97 kB / 3.739 GB, free: 290.3 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.007576/8.128, allocations: 1.873 MB / 3.741 GB, free: 289.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/8.128, allocations: 11.53 kB / 3.741 GB, free: 289.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/8.132, allocations: 470.8 kB / 3.741 GB, free: 289.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007172/8.14, allocations: 1.662 MB / 3.743 GB, free: 289.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/8.14, allocations: 61.03 kB / 3.743 GB, free: 289.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/8.14, allocations: 82.53 kB / 3.743 GB, free: 289.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/8.143, allocations: 0.9421 MB / 3.744 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/8.143, allocations: 1 kB / 3.744 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/8.143, allocations: 34.39 kB / 3.744 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/8.144, allocations: 27.19 kB / 3.744 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/8.146, allocations: 0.7865 MB / 3.745 GB, free: 289.2 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.008053/8.154, allocations: 3.639 MB / 3.748 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/8.156, allocations: 0.6546 MB / 3.749 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/8.156, allocations: 197.7 kB / 3.749 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/8.156, allocations: 44.19 kB / 3.749 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008459/8.157, allocations: 78.36 kB / 3.749 GB, free: 287.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 8.476e-06/8.157, allocations: 7.562 kB / 3.749 GB, free: 287.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.005588/8.162, allocations: 1.997 MB / 3.751 GB, free: 287.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/8.162, allocations: 58.19 kB / 3.751 GB, free: 287.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/8.164, allocations: 0.8244 MB / 3.752 GB, free: 287 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/8.164, allocations: 41.89 kB / 3.752 GB, free: 287 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/8.165, allocations: 0.509 MB / 3.753 GB, free: 286.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/8.165, allocations: 206.6 kB / 3.753 GB, free: 286.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/8.165, allocations: 13.78 kB / 3.753 GB, free: 286.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001042/8.165, allocations: 330.8 kB / 3.753 GB, free: 286.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/8.166, allocations: 304 kB / 3.753 GB, free: 286.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/8.167, allocations: 0.5038 MB / 3.754 GB, free: 286.2 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.00587/8.173, allocations: 1.399 MB / 3.755 GB, free: 286.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/8.173, allocations: 2.75 kB / 3.755 GB, free: 286.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002374/8.175, allocations: 0.9166 MB / 3.756 GB, free: 286 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006889/8.176, allocations: 1.657 MB / 3.758 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/8.176, allocations: 3.844 kB / 3.758 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.242e-05/8.176, allocations: 15.19 kB / 3.758 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/8.177, allocations: 218.8 kB / 3.758 GB, free: 284.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/8.178, allocations: 0.6359 MB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/8.18, allocations: 82.5 kB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/8.18, allocations: 42.77 kB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/8.18, allocations: 4.656 kB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001631/8.181, allocations: 0.7888 MB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/8.181, allocations: 6.5 kB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/8.181, allocations: 10 kB / 3.759 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/8.182, allocations: 228.6 kB / 3.76 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/8.182, allocations: 17.55 kB / 3.76 GB, free: 283.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/8.184, allocations: 75.11 kB / 3.76 GB, free: 283.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/8.184, allocations: 44.58 kB / 3.76 GB, free: 283.6 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.0009781/8.185, allocations: 428.7 kB / 3.76 GB, free: 283.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/8.185, allocations: 111.2 kB / 3.76 GB, free: 283.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/8.187, allocations: 0.8054 MB / 3.761 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/8.187, allocations: 7.594 kB / 3.761 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/8.188, allocations: 0 / 3.761 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/8.189, allocations: 0.744 MB / 3.762 GB, free: 283.2 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.004971/8.194, allocations: 2.157 MB / 3.764 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/8.194, allocations: 6.5 kB / 3.764 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/8.195, allocations: 144.7 kB / 3.764 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/8.195, allocations: 34.33 kB / 3.764 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/8.195, allocations: 24.62 kB / 3.764 GB, free: 282.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003929/8.195, allocations: 0.5598 MB / 3.765 GB, free: 282.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/8.195, allocations: 9.219 kB / 3.765 GB, free: 282.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002654/8.198, allocations: 1.441 MB / 3.766 GB, free: 281.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/8.199, allocations: 250.2 kB / 3.766 GB, free: 281.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/8.199, allocations: 16.84 kB / 3.766 GB, free: 281.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/8.2, allocations: 79.06 kB / 3.766 GB, free: 281.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/8.2, allocations: 47.44 kB / 3.766 GB, free: 281.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/8.201, allocations: 28.11 kB / 3.767 GB, free: 281.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001287/8.202, allocations: 0.646 MB / 3.767 GB, free: 281.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/8.202, allocations: 3.312 kB / 3.767 GB, free: 281.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003487/8.205, allocations: 0.6929 MB / 3.768 GB, free: 281.3 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.004364/8.21, allocations: 2.139 MB / 3.77 GB, free: 280.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003529/8.213, allocations: 1.191 MB / 3.771 GB, free: 280.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/8.213, allocations: 3.656 kB / 3.771 GB, free: 280.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008169/8.214, allocations: 360.4 kB / 3.771 GB, free: 280.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/8.217, allocations: 0.5338 MB / 3.772 GB, free: 280.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/8.222, allocations: 2.544 MB / 3.774 GB, free: 279.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/8.223, allocations: 1.183 MB / 3.776 GB, free: 278.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001812/8.225, allocations: 339.8 kB / 3.776 GB, free: 278.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/8.226, allocations: 85.59 kB / 3.776 GB, free: 278.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/8.226, allocations: 0 / 3.776 GB, free: 278.8 MB / 1.167 GB Notification: Performance of Templates: time 0.06949/8.295, allocations: 42.14 MB / 3.817 GB, free: 277.1 MB / 1.167 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