Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 210.1 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.382/3.382, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 69.08 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3609, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002708/0.3636, allocations: 1.488 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3647, allocations: 0.5527 MB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.3647, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.3648, allocations: 15.86 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.3648, allocations: 7.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.3654, allocations: 162.1 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.3655, allocations: 51.84 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.3655, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.3656, allocations: 23.92 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.3656, allocations: 31.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3656, allocations: 8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.3661, allocations: 287.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.3661, allocations: 4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.3661, allocations: 23.86 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.3664, allocations: 167.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3664, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3664, allocations: 7.938 kB / 1.33 GB, free: 14.2 MB / 1.029 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.0006588/0.3671, allocations: 325.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3671, allocations: 8.031 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3672, allocations: 16.89 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.3673, allocations: 110.5 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3673, allocations: 384 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3673, allocations: 16.33 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.3676, allocations: 125.6 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3676, allocations: 4.172 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3676, allocations: 3.938 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.3676, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3679, allocations: 51.97 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3684, allocations: 260.3 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.3687, allocations: 74.53 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3688, allocations: 32.83 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3688, allocations: 4 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3689, allocations: 30.56 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3689, allocations: 3.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001621/0.3705, allocations: 0.5035 MB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.3706, allocations: 51.41 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.3706, allocations: 101.9 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3707, allocations: 33.7 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.3707, allocations: 96.08 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3708, allocations: 35.69 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.3708, allocations: 25.84 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3709, allocations: 326.8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3711, allocations: 31.98 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.3712, allocations: 31.97 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3715, allocations: 76.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3715, allocations: 4 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003158/0.3718, allocations: 117.5 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3718, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3718, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3718, allocations: 11.94 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.372, allocations: 23.98 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.372, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.372, allocations: 11.98 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3721, allocations: 7.938 kB / 1.332 GB, free: 11.44 MB / 1.029 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.76e-05/0.3721, allocations: 119.4 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3722, allocations: 7.953 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.3726, allocations: 133.7 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3726, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3726, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3726, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005464/0.3731, allocations: 326 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3731, allocations: 4 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3733, allocations: 27.98 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.3733, allocations: 4 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3733, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3733, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3733, allocations: 3.938 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.3739, allocations: 259.3 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.3739, allocations: 7.938 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3739, allocations: 4.062 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3741, allocations: 12.03 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.3741, allocations: 7.922 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.3741, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.3741, allocations: 87.27 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3741, allocations: 0 / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000274/0.3744, allocations: 35.88 kB / 1.333 GB, free: 10.34 MB / 1.029 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.0002085/0.3746, allocations: 131.1 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.3749, allocations: 79.89 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3749, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3751, allocations: 47.84 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3754, allocations: 8.328 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.3761, allocations: 314.6 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.3762, allocations: 75.33 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.495e-05/0.3763, allocations: 12.61 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.3763, allocations: 19.36 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3763, allocations: 4 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of Templates: time 0.003983/0.3803, allocations: 1.214 MB / 1.335 GB, free: 8.453 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.265114262001589]