Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 179 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009539/0.000954, allocations: 98.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003035, allocations: 11.84 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2223, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.3912, allocations: 132.2 MB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.3915, allocations: 83.94 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009762/0.4013, allocations: 3.447 MB / 1.033 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4013, allocations: 4 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.4013, allocations: 0 / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003484/0.4017, allocations: 343.1 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.4018, allocations: 8.031 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.4018, allocations: 3.938 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4019, allocations: 171 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4019, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.402, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.4021, allocations: 41.62 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4021, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.4021, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4021, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.4021, allocations: 4 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.4023, allocations: 157.7 kB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.691e-05/0.4024, allocations: 18.58 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.4024, allocations: 8 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.4024, allocations: 30.56 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4024, allocations: 0 / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001371/0.4026, allocations: 49.67 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4026, allocations: 51.41 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.728e-05/0.4027, allocations: 89 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.4027, allocations: 25.7 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.4027, allocations: 88.39 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4028, allocations: 3.906 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.4028, allocations: 0 / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.4029, allocations: 314.8 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.4029, allocations: 7.984 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.4029, allocations: 0 / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.801e-05/0.4029, allocations: 7.953 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.403, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.682e-05/0.403, allocations: 41.64 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.403, allocations: 8.094 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4031, allocations: 3.984 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4031, allocations: 0 / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4032, allocations: 11.98 kB / 1.034 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000358/0.4036, allocations: 0.5822 MB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.4036, allocations: 11.8 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.4036, allocations: 0 / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * 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 7.124e-05/0.4037, allocations: 116.1 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.4037, allocations: 4 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.4038, allocations: 44.81 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4039, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4039, allocations: 4 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4039, allocations: 0 / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.663e-05/0.404, allocations: 157.6 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.404, allocations: 0 / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.4041, allocations: 19.95 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4041, allocations: 0 / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.4041, allocations: 0 / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000284/0.4044, allocations: 0.5859 MB / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4044, allocations: 0 / 1.036 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.647e-05/0.4045, allocations: 69.25 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.4045, allocations: 81.05 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4045, allocations: 0 / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.4045, allocations: 0 / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.4046, allocations: 3.953 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.4046, allocations: 4 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.4046, allocations: 79.28 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4046, allocations: 0 / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001836/0.4048, allocations: 16.11 kB / 1.036 GB, free: 4.418 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001753/0.405, allocations: 123.2 kB / 1.036 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.4051, allocations: 12 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4051, allocations: 0 / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.4052, allocations: 15.98 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.4053, allocations: 2.031 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.4056, allocations: 117.4 kB / 1.036 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4059, allocations: 0.6731 MB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.4059, allocations: 7.844 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.4059, allocations: 7.438 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.4059, allocations: 0 / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of Templates: time 0.002258/0.4082, allocations: 412 kB / 1.037 GB, free: 3.035 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches