Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.7 MB / 0.7117 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 8 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7706, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002977/0.7737, allocations: 1.173 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.7751, allocations: 0.5844 MB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.7752, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.7753, allocations: 3.984 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.7753, allocations: 3.938 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.7764, allocations: 135.6 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.7765, allocations: 47.84 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.7766, allocations: 7.984 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.7768, allocations: 23.91 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.7768, allocations: 23.92 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.7769, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.7776, allocations: 335.3 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.7777, allocations: 11.98 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.7777, allocations: 37.64 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.7781, allocations: 121.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.7781, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.549e-06/0.7781, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.7782, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 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.0009217/0.7791, allocations: 391.1 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.7792, allocations: 12.52 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.7793, allocations: 11.91 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.7794, allocations: 167 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/0.7795, allocations: 4 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.7795, allocations: 11.98 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.7799, allocations: 85.55 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.7799, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.78, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.78, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.7802, allocations: 63.89 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/0.7811, allocations: 332.6 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.7815, allocations: 82.53 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.7816, allocations: 40.84 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.7817, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.7817, allocations: 34.56 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7817, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001898/0.7836, allocations: 0.6698 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.7837, allocations: 59.28 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.7838, allocations: 109.8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.7838, allocations: 29.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.7839, allocations: 87.98 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.7839, allocations: 39.45 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.784, allocations: 4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7841, allocations: 322.8 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.7842, allocations: 31.98 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.7843, allocations: 40.09 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.7845, allocations: 43.61 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7845, allocations: 0 / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003216/0.7848, allocations: 121.6 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7849, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7849, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7849, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.7851, allocations: 35.92 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7851, allocations: 3.984 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.7852, allocations: 15.98 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.7852, allocations: 3.953 kB / 1.028 GB, free: 10.43 MB / 0.7794 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 (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 0.0001063/0.7853, allocations: 117.8 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.7854, allocations: 7.906 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.7858, allocations: 137.5 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.7858, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7858, allocations: 4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.7858, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.7864, allocations: 394.6 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.7864, allocations: 0 / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.7865, allocations: 39.91 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7866, allocations: 0 / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.7866, allocations: 4 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.7866, allocations: 0 / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7866, allocations: 4 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.7871, allocations: 267.2 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.7872, allocations: 81.14 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.7872, allocations: 0 / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.7873, allocations: 20.05 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.7874, allocations: 0 / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.7874, allocations: 7.984 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.438e-05/0.7874, allocations: 91.17 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7874, allocations: 0 / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003139/0.7878, allocations: 39.94 kB / 1.029 GB, free: 9.129 MB / 0.7794 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 () * Number of clocked 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.0002733/0.788, allocations: 135.2 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.7884, allocations: 91.95 kB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7884, allocations: 0 / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.7885, allocations: 51.91 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.7889, allocations: 14.5 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.7895, allocations: 379.8 kB / 1.029 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.7898, allocations: 0.6965 MB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.192e-05/0.7899, allocations: 8.672 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.7899, allocations: 15.44 kB / 1.03 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7899, allocations: 0 / 1.03 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.004029/0.7939, allocations: 1.071 MB / 1.031 GB, free: 6.656 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches