Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.9 MB / 266.9 MB, free: 11 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.001179/0.001179, allocations: 182.9 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.613/1.613, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009484/0.0009485, allocations: 82.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 10.06 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1874, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.3458, allocations: 132.4 MB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.346, allocations: 83.94 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008557/0.3546, allocations: 2.841 MB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3547, allocations: 0 / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3547, allocations: 0 / 1.032 GB, free: 8.449 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004849/0.3552, allocations: 347.2 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.3552, allocations: 8.031 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3553, allocations: 8 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3555, allocations: 175 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3555, allocations: 0 / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3556, allocations: 4 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3557, allocations: 37.64 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3557, allocations: 3.984 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3557, allocations: 0 / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3557, allocations: 4 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.3558, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.356, allocations: 165.6 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3562, allocations: 46.59 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3562, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.3562, allocations: 38.5 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3562, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0006824/0.3569, allocations: 311.8 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.357, allocations: 59.41 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.3571, allocations: 89 kB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3571, allocations: 29.7 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.21e-05/0.3571, allocations: 80.14 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.3572, allocations: 19.7 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.3572, allocations: 4 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3574, allocations: 314.8 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3574, allocations: 8 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.3574, allocations: 19.98 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.3575, allocations: 16.14 kB / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3575, allocations: 0 / 1.034 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001021/0.3576, allocations: 73.61 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3576, allocations: 4 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3576, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3576, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.3577, allocations: 8 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3577, allocations: 4 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.3577, allocations: 0 / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.3578, allocations: 4 kB / 1.034 GB, free: 6.348 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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.3579, allocations: 121.8 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.3579, allocations: 0 / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.358, allocations: 69.72 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3581, allocations: 7.938 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.3581, allocations: 7.938 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3581, allocations: 0 / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.3584, allocations: 323.3 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3585, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.3585, allocations: 12 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3585, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.3586, allocations: 4 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3586, allocations: 0 / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3586, allocations: 4 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3588, allocations: 194 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.3589, allocations: 81.09 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3589, allocations: 4.031 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.359, allocations: 0 / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.359, allocations: 8 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3591, allocations: 3.953 kB / 1.035 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.3591, allocations: 83.78 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3591, allocations: 0 / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002846/0.3594, allocations: 23.94 kB / 1.035 GB, free: 5.301 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002151/0.3596, allocations: 135.2 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3598, allocations: 35.92 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3598, allocations: 0 / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/0.3598, allocations: 12 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.36, allocations: 6.031 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.3605, allocations: 237.5 kB / 1.035 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3608, allocations: 0.6809 MB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.729e-05/0.3609, allocations: 11.91 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3609, allocations: 15.42 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3609, allocations: 0 / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of Templates: time 0.002984/0.3639, allocations: 0.5935 MB / 1.037 GB, free: 3.559 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches