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.459/1.459, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 180.8 kB / 316.3 MB, free: 3.301 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.381/1.381, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009863/0.0009864, allocations: 94.2 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.835e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1887, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6007/0.7894, allocations: 132.4 MB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.7897, allocations: 83.05 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009627/0.7994, allocations: 3.428 MB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7994, allocations: 0 / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.7994, allocations: 0 / 1.018 GB, free: 2.496 MB / 0.6355 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.0003159/0.7997, allocations: 338.7 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.7998, allocations: 16.03 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.7998, allocations: 0 / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.8, allocations: 163 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.8, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.8, allocations: 3.984 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.277e-05/0.8001, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.8002, allocations: 37.62 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.8002, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.8002, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8002, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.8003, allocations: 141.6 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.8004, allocations: 18.58 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.8004, allocations: 12.09 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.8005, allocations: 4.062 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.8005, allocations: 30.56 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.8005, allocations: 0 / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001234/0.8006, allocations: 41.64 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.8007, allocations: 51.41 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.015e-05/0.8007, allocations: 87.75 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.8008, allocations: 25.7 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.8008, allocations: 84.14 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.8008, allocations: 7.891 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.8008, allocations: 0 / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8009, allocations: 314.1 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.801, allocations: 4 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.801, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.246e-05/0.801, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.801, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.488e-05/0.8011, allocations: 37.66 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.8011, allocations: 7.938 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.8011, allocations: 7.984 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.8011, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.8013, allocations: 11.56 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/0.8017, allocations: 0.5856 MB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.8017, allocations: 3.906 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.8017, allocations: 8.016 kB / 1.02 GB, free: 280 kB / 0.6355 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 () * 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.552e-05/0.8018, allocations: 104.9 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-06/0.8018, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.629e-05/0.8019, allocations: 48.69 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8019, allocations: 0 / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8019, allocations: 3.984 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8019, allocations: 0 / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.802, allocations: 130.2 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.802, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.8021, allocations: 15.92 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8021, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.8021, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/0.8024, allocations: 0.5894 MB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8025, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.8025, allocations: 61.11 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.8026, allocations: 81.02 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.8026, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.8026, allocations: 12.06 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.8026, allocations: 6.875 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.8026, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.8027, allocations: 75.28 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8027, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001973/0.8029, allocations: 23.88 kB / 1.021 GB, free: 15.03 MB / 0.6511 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 () * 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.0001876/0.8031, allocations: 107.2 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.8032, allocations: 19.16 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8032, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.8033, allocations: 11.98 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.8034, allocations: 1.219 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001534/0.8036, allocations: 55.89 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.8038, allocations: 0.6768 MB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.8039, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.8039, allocations: 11.56 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.8039, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.002108/0.806, allocations: 404.6 kB / 1.022 GB, free: 13.74 MB / 0.6511 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