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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.973 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.001026/0.001026, allocations: 180.5 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.24/1.24, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0007385/0.0007384, allocations: 94.45 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.375e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1658, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5732/0.739, allocations: 133.2 MB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.7394, allocations: 80.31 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01265/0.7521, allocations: 4.279 MB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7521, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.7521, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004033/0.7525, allocations: 369.8 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7526, allocations: 12.03 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.7526, allocations: 7.906 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.7527, allocations: 167 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.7528, allocations: 11.44 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.7528, allocations: 7.562 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.753, allocations: 63.73 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.753, allocations: 3.984 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.753, allocations: 7.625 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.753, allocations: 0 / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.7531, allocations: 35.42 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.7536, allocations: 324.8 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.7537, allocations: 68.88 kB / 1.027 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.7538, allocations: 16.89 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.7538, allocations: 4.141 kB / 1.027 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.7538, allocations: 42.25 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.7539, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.000939/0.7548, allocations: 0.5672 MB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.7549, allocations: 51.41 kB / 1.028 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.187e-05/0.7549, allocations: 100.6 kB / 1.028 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7549, allocations: 25.7 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.755, allocations: 86.8 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.755, allocations: 46.19 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.7551, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7552, allocations: 320.9 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.7552, allocations: 24.62 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.7553, allocations: 25.62 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.797e-05/0.7553, allocations: 23.48 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7554, allocations: 4 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001541/0.7555, allocations: 106.3 kB / 1.029 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7555, allocations: 7.953 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7555, allocations: 0 / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7556, allocations: 4 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.7557, allocations: 27.97 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7557, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.7558, allocations: 11.25 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.7558, allocations: 0 / 1.029 GB, free: 11.18 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 (13): * Single equations (assignments): 13 * 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 6.176e-05/0.7559, allocations: 116.7 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.7559, allocations: 4.094 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.7561, allocations: 114.2 kB / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.7562, allocations: 0 / 1.029 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7562, allocations: 3.984 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7562, allocations: 0 / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.7565, allocations: 367 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7566, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.7567, allocations: 27.94 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.7568, allocations: 8.188 kB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.7568, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7568, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7568, allocations: 0 / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.757, allocations: 229.5 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.7571, allocations: 85.19 kB / 1.029 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7571, allocations: 7.953 kB / 1.029 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.7572, allocations: 7.688 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.7573, allocations: 7.984 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.7573, allocations: 4 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.7573, allocations: 82.91 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7573, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002621/0.7576, allocations: 46.55 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000205/0.7578, allocations: 142.2 kB / 1.03 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.7579, allocations: 69.73 kB / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.758, allocations: 0 / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/0.758, allocations: 36.88 kB / 1.03 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.7582, allocations: 14.97 kB / 1.03 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.7587, allocations: 240.7 kB / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.7589, allocations: 0.6926 MB / 1.031 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.403e-05/0.759, allocations: 16.66 kB / 1.031 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.7591, allocations: 11.44 kB / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/0.7591, allocations: 0 / 1.031 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of Templates: time 0.003215/0.7623, allocations: 1.034 MB / 1.032 GB, free: 7.859 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches