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.393/1.393, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001029/0.001029, allocations: 177 kB / 326.5 MB, free: 2.234 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.56/1.56, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008622/0.0008625, allocations: 87.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8.531 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2072, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.3749, allocations: 132.1 MB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3752, allocations: 79.94 kB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006855/0.3821, allocations: 2.275 MB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3821, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3821, allocations: 0 / 1.031 GB, free: 9.277 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.0003175/0.3824, allocations: 342.2 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3825, allocations: 12.03 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.3825, allocations: 3.938 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3827, allocations: 167 kB / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3827, allocations: 0 / 1.032 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3827, allocations: 4 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.857e-05/0.3828, allocations: 33.69 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3828, allocations: 0 / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3828, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3828, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/0.3829, allocations: 3.938 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3831, allocations: 161.6 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.3831, allocations: 22.61 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3832, allocations: 8.062 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.3832, allocations: 30.56 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3832, allocations: 0 / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.3833, allocations: 45.62 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.3834, allocations: 55.34 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.266e-05/0.3834, allocations: 89 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3835, allocations: 25.7 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.3835, allocations: 84.39 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.3835, allocations: 7.906 kB / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.3835, allocations: 0 / 1.032 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3836, allocations: 314.8 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.3837, allocations: 3.984 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.3837, allocations: 4 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.574e-05/0.3837, allocations: 3.953 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3837, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.333e-05/0.3838, allocations: 49.7 kB / 1.033 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3838, allocations: 4 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3838, allocations: 0 / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3838, allocations: 0 / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.384, allocations: 11.98 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003322/0.3843, allocations: 0.5782 MB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.3844, allocations: 7.859 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3844, allocations: 4.156 kB / 1.033 GB, free: 6.996 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.491e-05/0.3845, allocations: 109.8 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.3845, allocations: 3.984 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3846, allocations: 48.7 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3846, allocations: 0 / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3846, allocations: 0 / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3846, allocations: 7.984 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.376e-05/0.3847, allocations: 149.6 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3847, allocations: 4.031 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.3848, allocations: 13.55 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3848, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3848, allocations: 8 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000265/0.3851, allocations: 0.5821 MB / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3851, allocations: 0 / 1.034 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.3852, allocations: 69.19 kB / 1.034 GB, free: 5.902 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3852, allocations: 77.11 kB / 1.034 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3852, allocations: 4 kB / 1.034 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.3853, allocations: 0 / 1.034 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.3853, allocations: 7.953 kB / 1.034 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3853, allocations: 3.938 kB / 1.034 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.3853, allocations: 83.27 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3853, allocations: 0 / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001828/0.3855, allocations: 16.12 kB / 1.035 GB, free: 5.695 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.0001809/0.3857, allocations: 115.2 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.3859, allocations: 15.94 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3859, allocations: 0 / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/0.386, allocations: 15.98 kB / 1.035 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.3861, allocations: 6.984 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.3864, allocations: 107.3 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3867, allocations: 0.677 MB / 1.035 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.3867, allocations: 3.906 kB / 1.035 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.3867, allocations: 11.44 kB / 1.035 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/0.3867, allocations: 0 / 1.035 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of Templates: time 0.002231/0.3889, allocations: 419.3 kB / 1.036 GB, free: 4.312 MB / 0.6823 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