Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001853/0.001853, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002345/0.002345, allocations: 160.8 kB / 23.01 MB, free: 4.949 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.829/2.829, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [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.002117/0.002117, allocations: 59.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002573/1.082, allocations: 1.29 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001059/1.083, allocations: 0.5396 MB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/1.083, allocations: 2.875 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/1.083, allocations: 0 / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/1.083, allocations: 7.5 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/1.083, allocations: 146 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.425e-05/1.084, allocations: 25.86 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/1.084, allocations: 2.438 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/1.084, allocations: 8.625 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.236e-05/1.084, allocations: 6.062 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/1.084, allocations: 0 / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/1.084, allocations: 272.3 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/1.084, allocations: 3.938 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/1.084, allocations: 8.625 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/1.084, allocations: 145.9 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/1.084, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.084, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.031e-05/1.084, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003586/1.085, allocations: 285.5 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.085, allocations: 8.812 kB / 1.157 GB, free: 31.6 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/1.085, allocations: 11.78 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/1.085, allocations: 108.6 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/1.085, allocations: 384 / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/1.085, allocations: 7.031 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/1.085, allocations: 64.97 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.085, allocations: 8.125 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.085, allocations: 3.938 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.085, allocations: 2.75 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/1.085, allocations: 9.781 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/1.085, allocations: 110.3 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/1.085, allocations: 42.95 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/1.085, allocations: 17.61 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/1.085, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/1.085, allocations: 33.34 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/1.085, allocations: 0 / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.000541/1.086, allocations: 243.8 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/1.086, allocations: 58.19 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/1.086, allocations: 100.1 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/1.086, allocations: 25.7 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.824e-05/1.086, allocations: 83.02 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/1.086, allocations: 18.64 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/1.086, allocations: 22.69 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/1.086, allocations: 310.8 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/1.086, allocations: 12.95 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/1.086, allocations: 12.53 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.331e-05/1.086, allocations: 43.09 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.086, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.901e-05/1.086, allocations: 71.53 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.086, allocations: 8 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.086, allocations: 3.938 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.086, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/1.086, allocations: 11.25 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.086, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/1.086, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/1.086, allocations: 2.875 kB / 1.158 GB, free: 30.25 MB / 1.076 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 (7): * Single equations (assignments): 7 * 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 4.956e-05/1.087, allocations: 124 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/1.087, allocations: 3.953 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/1.087, allocations: 72.7 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.087, allocations: 3.234 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.087, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.087, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/1.087, allocations: 266.2 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.087, allocations: 3.938 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/1.087, allocations: 11.19 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.087, allocations: 0 / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/1.087, allocations: 2.75 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.087, allocations: 4 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.087, allocations: 0 / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/1.087, allocations: 177.7 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/1.087, allocations: 17.7 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/1.087, allocations: 2.562 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/1.087, allocations: 0 / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/1.087, allocations: 5.969 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/1.087, allocations: 6.469 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.06e-05/1.087, allocations: 81.84 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.087, allocations: 0 / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002703/1.088, allocations: 31.86 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001517/1.088, allocations: 120.3 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001063/1.088, allocations: 31.94 kB / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.088, allocations: 0 / 1.159 GB, free: 29.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/1.088, allocations: 22.98 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/1.088, allocations: 5.766 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/1.088, allocations: 196.3 kB / 1.159 GB, free: 29.24 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.417e-05/1.088, allocations: 66.36 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.859e-05/1.088, allocations: 5.219 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/1.088, allocations: 11.06 kB / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.088, allocations: 0 / 1.159 GB, free: 29.16 MB / 1.076 GB Notification: Performance of Templates: time 0.003113/1.092, allocations: 0.6423 MB / 1.16 GB, free: 29.08 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.083924876060337]