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_m_flow.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_m_flow,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_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,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_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 249.3 MB / 261.8 MB, free: 5.992 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.0009463/0.0009462, allocations: 166.2 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0008302/0.0008303, allocations: 100 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.765e-05, allocations: 4 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6006/0.762, allocations: 132 MB / 1.021 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.7623, allocations: 74.83 kB / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006736/0.769, allocations: 2.266 MB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.292e-06/0.769, allocations: 0 / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.769, allocations: 4 kB / 1.023 GB, free: 0.7383 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.0002689/0.7693, allocations: 337 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7694, allocations: 12.02 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.7694, allocations: 4 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.7695, allocations: 163 kB / 1.024 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.7695, allocations: 4 kB / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.7696, allocations: 7.5 kB / 1.024 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.883e-05/0.7696, allocations: 29.7 kB / 1.024 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7697, allocations: 0 / 1.024 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.7697, allocations: 3.984 kB / 1.024 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.7697, allocations: 0 / 1.024 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.7697, allocations: 7.938 kB / 1.024 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.7699, allocations: 161.1 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/0.77, allocations: 26.05 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.77, allocations: 4.859 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.77, allocations: 4.062 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.77, allocations: 30.56 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.77, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001141/0.7702, allocations: 49 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.7702, allocations: 51.41 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.7703, allocations: 89 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.7703, allocations: 29.64 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.7703, allocations: 84.12 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.7704, allocations: 7.719 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.7704, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7705, allocations: 315 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.7705, allocations: 8 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-06/0.7705, allocations: 7.922 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.503e-05/0.7705, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7705, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.691e-05/0.7706, allocations: 37.08 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7706, allocations: 8 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7706, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7707, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.7708, allocations: 16.02 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00036/0.7712, allocations: 0.5818 MB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.7712, allocations: 7.859 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.7712, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.6511 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 6.43e-05/0.7713, allocations: 108.6 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.7713, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.7715, allocations: 56.73 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.7715, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7715, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7715, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.391e-05/0.7716, allocations: 153.6 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7716, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.7717, allocations: 11.98 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.7717, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.7717, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002902/0.772, allocations: 0.5926 MB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.772, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.313e-05/0.7721, allocations: 64.97 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.7721, allocations: 77.11 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.7722, allocations: 4 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.7722, allocations: 128 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.7722, allocations: 7.953 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.7722, allocations: 0 / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.977e-05/0.7722, allocations: 79.28 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7723, allocations: 3.938 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001813/0.7724, allocations: 12 kB / 1.026 GB, free: 13.21 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.0001531/0.7726, allocations: 115.2 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.7727, allocations: 31.27 kB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7728, allocations: 0 / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.7728, allocations: 8 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.815e-05/0.773, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001657/0.7731, allocations: 53.61 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.7734, allocations: 0.677 MB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.7734, allocations: 3.906 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.7734, allocations: 11.56 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.7734, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.002325/0.7758, allocations: 427.1 kB / 1.027 GB, free: 11.87 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches