Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002056/0.002056, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002506/0.002506, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.518/3.518, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003408/0.003408, allocations: 67.55 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4021, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002777/0.4049, allocations: 1.49 MB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.406, allocations: 0.5615 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.4061, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.4061, allocations: 3.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.638e-05/0.4062, allocations: 11.86 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.4068, allocations: 167.4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.4069, allocations: 47.84 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.4069, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.407, allocations: 19.92 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.407, allocations: 23.91 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.4071, allocations: 7.938 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.4075, allocations: 267.5 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.4075, allocations: 15.98 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.4076, allocations: 19.92 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.4079, allocations: 171.3 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4079, allocations: 8 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4079, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4079, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 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.0006192/0.4085, allocations: 325.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4085, allocations: 12.03 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.4086, allocations: 12.83 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.4087, allocations: 102.5 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.4087, allocations: 8.375 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4088, allocations: 4.375 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.409, allocations: 147.5 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4091, allocations: 192 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4091, allocations: 3.938 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4091, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.4093, allocations: 47.95 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.4099, allocations: 272.3 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.4102, allocations: 78.53 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4103, allocations: 24.84 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.4103, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4103, allocations: 42.56 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4104, allocations: 0 / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.00169/0.412, allocations: 0.5035 MB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4121, allocations: 55.34 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.4122, allocations: 105.8 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4122, allocations: 25.7 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.4122, allocations: 84.14 kB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.4123, allocations: 39.64 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.4123, allocations: 33.7 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4125, allocations: 318.8 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.4126, allocations: 35.97 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4128, allocations: 31.98 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.413, allocations: 71.58 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.413, allocations: 0 / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003338/0.4133, allocations: 121.7 kB / 1.369 GB, free: 8.066 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4134, allocations: 4 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4134, allocations: 0 / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4134, allocations: 4 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4135, allocations: 35.91 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4135, allocations: 4 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.539e-05/0.4136, allocations: 4 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.4136, allocations: 3.938 kB / 1.369 GB, free: 8.012 MB / 1.061 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 0.0001035/0.4137, allocations: 118.9 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4137, allocations: 4 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.4141, allocations: 129.6 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4141, allocations: 8 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4141, allocations: 96 / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4141, allocations: 3.938 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.4147, allocations: 330 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4147, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.4148, allocations: 23.98 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4148, allocations: 0 / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.4149, allocations: 11.98 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4149, allocations: 0 / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4149, allocations: 7.938 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005227/0.4154, allocations: 247.3 kB / 1.37 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.4154, allocations: 8.031 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4154, allocations: 0 / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.4155, allocations: 4 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.4156, allocations: 15.92 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.4156, allocations: 7.984 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.4156, allocations: 79.28 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4156, allocations: 4.062 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002783/0.4159, allocations: 35.88 kB / 1.37 GB, free: 6.918 MB / 1.061 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.0002095/0.4161, allocations: 131.1 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.4164, allocations: 75.89 kB / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4165, allocations: 0 / 1.37 GB, free: 6.707 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4166, allocations: 47.91 kB / 1.37 GB, free: 6.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.4169, allocations: 12.66 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006773/0.4176, allocations: 314.1 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.311e-05/0.4176, allocations: 75.33 kB / 1.371 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.999e-05/0.4177, allocations: 16.66 kB / 1.371 GB, free: 6.203 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.4177, allocations: 15.38 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4177, allocations: 0 / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of Templates: time 0.004298/0.422, allocations: 1.18 MB / 1.372 GB, free: 5.062 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.59787905588746]