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.001871/0.001871, 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.002596/0.002596, allocations: 212.5 kB / 22.25 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.656/1.656, 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 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.534/3.534, allocations: 0.4892 GB / 0.7943 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.002461/0.002461, allocations: 66.12 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3839, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003371/0.3873, allocations: 1.476 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3887, allocations: 0.5682 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.3887, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.3888, allocations: 3.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.3888, allocations: 3.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.3895, allocations: 167.3 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3896, allocations: 43.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.3897, allocations: 7.984 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.3898, allocations: 19.94 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3898, allocations: 31.83 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.3898, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.3903, allocations: 267.5 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.3903, allocations: 15.97 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.3904, allocations: 19.88 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3907, allocations: 175.3 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3907, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3907, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3907, allocations: 0 / 1.328 GB, free: 15.02 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.0007129/0.3915, allocations: 321.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3915, allocations: 12.03 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.3915, allocations: 12.89 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3917, allocations: 114.5 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3917, allocations: 4.375 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3917, allocations: 12.33 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.392, allocations: 125.6 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.392, allocations: 4.188 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.392, allocations: 3.938 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.392, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3923, allocations: 51.95 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.3929, allocations: 268.3 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.3931, allocations: 74.53 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3932, allocations: 32.78 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.3933, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3933, allocations: 42.48 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3933, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001631/0.3949, allocations: 499.7 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.395, allocations: 51.41 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3951, allocations: 101.8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3951, allocations: 33.7 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.3952, allocations: 88.08 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3952, allocations: 35.64 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.3953, allocations: 33.83 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3955, allocations: 322.8 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3956, allocations: 35.98 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.3957, allocations: 31.97 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.396, allocations: 79.64 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.396, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003353/0.3963, allocations: 117.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3963, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3963, allocations: 96 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3964, allocations: 3.938 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3965, allocations: 23.98 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3965, allocations: 8 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.3966, allocations: 7.984 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3966, allocations: 7.938 kB / 1.331 GB, free: 12.26 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 0.0001107/0.3967, allocations: 118.3 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.3967, allocations: 8.141 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.3971, allocations: 133.6 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3971, allocations: 7.984 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3971, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3971, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.3977, allocations: 326.1 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3977, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.3979, allocations: 27.98 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3979, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3979, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3979, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3979, allocations: 3.938 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.3985, allocations: 259.3 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.3985, allocations: 7.984 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3985, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3986, allocations: 11.98 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.3986, allocations: 11.92 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3986, allocations: 8 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.3987, allocations: 83.28 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3987, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002901/0.399, allocations: 35.86 kB / 1.332 GB, free: 11.16 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.0002406/0.3992, allocations: 135.1 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.3995, allocations: 75.89 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3996, allocations: 4 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3997, allocations: 43.91 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.4, allocations: 13.36 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.4007, allocations: 318 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.528e-05/0.4008, allocations: 75.33 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.513e-05/0.4009, allocations: 12.67 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.4009, allocations: 15.44 kB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4009, allocations: 0 / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Templates: time 0.004321/0.4052, allocations: 1.173 MB / 1.334 GB, free: 9.312 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 -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/jenkins/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.649983828887343]