Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009684/0.009684, allocations: 102 kB / 15.73 MB, free: 6.039 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.002035/0.002035, allocations: 194.9 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.544/2.544, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.48 kB / 0.9509 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3008, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002591/0.3034, allocations: 1.472 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3046, allocations: 0.6358 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.3046, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3047, allocations: 7.922 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.3048, allocations: 3.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.3054, allocations: 159.3 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.3055, allocations: 59.58 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.3055, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.3056, allocations: 27.92 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.3057, allocations: 23.86 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3057, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.3062, allocations: 347.3 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.3063, allocations: 15.98 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.3063, allocations: 23.86 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3066, allocations: 179.5 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3066, allocations: 3.938 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3066, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3067, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 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.0006075/0.3073, allocations: 399.3 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3073, allocations: 8.031 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3074, allocations: 4.938 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3075, allocations: 168.3 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.3075, allocations: 4.375 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3075, allocations: 16.31 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3078, allocations: 82.14 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3078, allocations: 4.188 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3078, allocations: 3.938 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3078, allocations: 4 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.3081, allocations: 51.91 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.3086, allocations: 324.6 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.3089, allocations: 82.47 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.309, allocations: 24.84 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3091, allocations: 8.141 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3091, allocations: 34.56 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3091, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001628/0.3107, allocations: 0.6499 MB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3108, allocations: 51.41 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.3109, allocations: 113.8 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3109, allocations: 29.7 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.311, allocations: 92.03 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.311, allocations: 39.39 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.3111, allocations: 33.7 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3112, allocations: 314.8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3113, allocations: 31.91 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3115, allocations: 38.98 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3117, allocations: 72.83 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3117, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000306/0.312, allocations: 113.7 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3121, allocations: 8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3121, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3121, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3123, allocations: 39.91 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3123, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.3123, allocations: 7.938 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.3124, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.3125, allocations: 117.8 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3125, allocations: 3.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.3129, allocations: 129.5 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3129, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3129, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3129, allocations: 7.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.3135, allocations: 382.4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3135, allocations: 96 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.3136, allocations: 31.86 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3136, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3137, allocations: 7.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3137, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3137, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004941/0.3142, allocations: 239.5 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.3142, allocations: 89.03 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.3143, allocations: 7.938 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3144, allocations: 7.938 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3144, allocations: 12.05 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3144, allocations: 4 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.3145, allocations: 87.27 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3145, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002829/0.3148, allocations: 32 kB / 1.095 GB, free: 10.16 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002388/0.315, allocations: 139.1 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.3154, allocations: 87.94 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.3154, allocations: 0 / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3155, allocations: 43.92 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3158, allocations: 14.41 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.3165, allocations: 314.4 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.3168, allocations: 0.6966 MB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.363e-05/0.3169, allocations: 8.672 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.3169, allocations: 19.42 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.3169, allocations: 0 / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of Templates: time 0.003806/0.3207, allocations: 1.168 MB / 1.097 GB, free: 7.66 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches