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.014/2.014, allocations: 387.4 MB / 394.9 MB, free: 13.45 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.00101/0.00101, allocations: 176.8 kB / 487.4 MB, free: 5.094 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.373/1.373, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.00102/0.00102, allocations: 95.84 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.72e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2316, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/4.644, allocations: 1.94 GB / 3.146 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/4.644, allocations: 91.61 kB / 3.146 GB, free: 345 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.566/6.21, allocations: 0.5683 GB / 3.714 GB, free: 229.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.362e-06/6.21, allocations: 0 / 3.714 GB, free: 229.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001658/6.21, allocations: 35.83 kB / 3.714 GB, free: 229.2 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.003755/6.214, allocations: 1.463 MB / 3.715 GB, free: 227.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/6.214, allocations: 8.562 kB / 3.715 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/6.217, allocations: 469.9 kB / 3.716 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/6.221, allocations: 1.635 MB / 3.718 GB, free: 225.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/6.221, allocations: 27.94 kB / 3.718 GB, free: 225.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/6.221, allocations: 48 kB / 3.718 GB, free: 225.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001311/6.223, allocations: 0.6833 MB / 3.718 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/6.224, allocations: 0.7878 MB / 3.719 GB, free: 224 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/6.224, allocations: 0 / 3.719 GB, free: 224 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-05/6.224, allocations: 7.938 kB / 3.719 GB, free: 223.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/6.224, allocations: 30 kB / 3.719 GB, free: 223.9 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.00521/6.229, allocations: 3.484 MB / 3.722 GB, free: 220.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/6.23, allocations: 0.6169 MB / 3.723 GB, free: 219.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/6.231, allocations: 327 kB / 3.723 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/6.231, allocations: 198 kB / 3.724 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/6.231, allocations: 35.12 kB / 3.724 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004745/6.232, allocations: 63.5 kB / 3.724 GB, free: 219 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 2.605e-06/6.232, allocations: 0 / 3.724 GB, free: 219 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.003273/6.235, allocations: 1.652 MB / 3.725 GB, free: 217.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/6.235, allocations: 55.97 kB / 3.725 GB, free: 217.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/6.236, allocations: 0.7276 MB / 3.726 GB, free: 216.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/6.236, allocations: 25.7 kB / 3.726 GB, free: 216.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/6.236, allocations: 0.5116 MB / 3.727 GB, free: 216 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/6.236, allocations: 193.1 kB / 3.727 GB, free: 215.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/6.236, allocations: 4 kB / 3.727 GB, free: 215.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/6.236, allocations: 337.9 kB / 3.727 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/6.237, allocations: 269.5 kB / 3.727 GB, free: 215.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/6.237, allocations: 474.5 kB / 3.728 GB, free: 214.6 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.002812/6.24, allocations: 1.119 MB / 3.729 GB, free: 213.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/6.24, allocations: 4 kB / 3.729 GB, free: 213.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001242/6.241, allocations: 0.8374 MB / 3.73 GB, free: 212.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003131/6.241, allocations: 1.661 MB / 3.731 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/6.242, allocations: 7.953 kB / 3.731 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/6.242, allocations: 11.98 kB / 3.731 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/6.243, allocations: 223.7 kB / 3.732 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005238/6.243, allocations: 0.6953 MB / 3.732 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009316/6.244, allocations: 67.88 kB / 3.732 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/6.244, allocations: 43.98 kB / 3.732 GB, free: 209.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/6.244, allocations: 8 kB / 3.732 GB, free: 209.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009765/6.245, allocations: 0.6536 MB / 3.733 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/6.245, allocations: 4.062 kB / 3.733 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/6.245, allocations: 12 kB / 3.733 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/6.246, allocations: 238.8 kB / 3.733 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/6.246, allocations: 15.89 kB / 3.733 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008429/6.247, allocations: 59.94 kB / 3.733 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/6.247, allocations: 43.98 kB / 3.733 GB, free: 208.8 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.0001707/6.247, allocations: 124.8 kB / 3.733 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/6.247, allocations: 102.7 kB / 3.734 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/6.249, allocations: 0.6821 MB / 3.734 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/6.249, allocations: 11.95 kB / 3.734 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/6.249, allocations: 0 / 3.734 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007622/6.249, allocations: 0.6314 MB / 3.735 GB, free: 207.2 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.00286/6.252, allocations: 1.941 MB / 3.737 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/6.252, allocations: 4 kB / 3.737 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/6.253, allocations: 147.8 kB / 3.737 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/6.253, allocations: 32.84 kB / 3.737 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/6.253, allocations: 20.12 kB / 3.737 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002507/6.253, allocations: 0.5641 MB / 3.737 GB, free: 204.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/6.253, allocations: 4 kB / 3.737 GB, free: 204.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/6.255, allocations: 1.272 MB / 3.739 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/6.255, allocations: 247.8 kB / 3.739 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/6.255, allocations: 8 kB / 3.739 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/6.256, allocations: 63.92 kB / 3.739 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/6.256, allocations: 47.84 kB / 3.739 GB, free: 202.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/6.256, allocations: 31.98 kB / 3.739 GB, free: 202.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005927/6.257, allocations: 0.5589 MB / 3.74 GB, free: 201.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.257, allocations: 0 / 3.74 GB, free: 201.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001793/6.258, allocations: 0.6091 MB / 3.74 GB, free: 201.3 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.002693/6.261, allocations: 2.256 MB / 3.742 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001892/6.263, allocations: 1.07 MB / 3.744 GB, free: 198.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/6.263, allocations: 0 / 3.744 GB, free: 198.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/6.263, allocations: 299.4 kB / 3.744 GB, free: 197.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/6.266, allocations: 0.5104 MB / 3.744 GB, free: 197.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/6.268, allocations: 1.626 MB / 3.746 GB, free: 195.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/6.268, allocations: 1.176 MB / 3.747 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001595/6.27, allocations: 452.4 kB / 3.747 GB, free: 194 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/6.27, allocations: 79.34 kB / 3.748 GB, free: 193.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/6.27, allocations: 0 / 3.748 GB, free: 193.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03611/6.306, allocations: 31.28 MB / 3.778 GB, free: 162.9 MB / 1.151 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