Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0017/0.0017, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002011/0.002011, allocations: 217.5 kB / 22.24 MB, free: 4.855 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.993/2.993, allocations: 475.9 MB / 0.7699 GB, free: 4.816 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_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.002166/0.002166, allocations: 65.88 kB / 1.117 GB, free: 41.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003765/0.3404, allocations: 1.487 MB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.342, allocations: 0.5506 MB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.3421, allocations: 0 / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.3421, allocations: 7.922 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.3422, allocations: 7.922 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.3432, allocations: 159.4 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3433, allocations: 59.77 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.457e-05/0.3434, allocations: 8 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.3435, allocations: 19.92 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.3435, allocations: 23.91 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3436, allocations: 4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.3442, allocations: 271.5 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.3442, allocations: 15.92 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.3442, allocations: 19.92 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3446, allocations: 171.4 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3446, allocations: 0 / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3446, allocations: 0 / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3446, allocations: 4 kB / 1.286 GB, free: 9.176 MB / 0.9825 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.000722/0.3454, allocations: 321.8 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3454, allocations: 15.97 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3455, allocations: 8.891 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3456, allocations: 110.4 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.3456, allocations: 8.375 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3457, allocations: 8.375 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.346, allocations: 137.6 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.346, allocations: 4.125 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.346, allocations: 7.938 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.346, allocations: 0 / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3463, allocations: 47.95 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.3469, allocations: 268.3 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.3472, allocations: 74.53 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3473, allocations: 32.78 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.3474, allocations: 4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3474, allocations: 38.56 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.3474, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001885/0.3493, allocations: 0.5035 MB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3493, allocations: 51.41 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3494, allocations: 109.8 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3495, allocations: 25.7 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.3495, allocations: 92.03 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3496, allocations: 39.69 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3496, allocations: 29.7 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003566/0.35, allocations: 318.8 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3501, allocations: 31.97 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3503, allocations: 36.73 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.3505, allocations: 74.14 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3505, allocations: 0 / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004464/0.351, allocations: 122.6 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.351, allocations: 4 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.351, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.351, allocations: 0 / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3512, allocations: 35.97 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3512, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.3513, allocations: 7.938 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3513, allocations: 7.938 kB / 1.288 GB, free: 6.406 MB / 0.9825 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.0001203/0.3514, allocations: 117.8 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.3514, allocations: 7.953 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.3519, allocations: 121.7 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3519, allocations: 4 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3519, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3519, allocations: 4 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.3525, allocations: 326 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3525, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3526, allocations: 27.98 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3526, allocations: 96 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3527, allocations: 7.938 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.3527, allocations: 3.984 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3527, allocations: 3.938 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.3533, allocations: 255.3 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.3533, allocations: 7.984 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3533, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3534, allocations: 4 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3535, allocations: 15.92 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3535, allocations: 4 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.517e-05/0.3535, allocations: 83.27 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3535, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003367/0.3539, allocations: 35.88 kB / 1.289 GB, free: 5.324 MB / 0.9825 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.0003022/0.3542, allocations: 139.2 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.3546, allocations: 75.89 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.3546, allocations: 0 / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3547, allocations: 43.91 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3551, allocations: 18.23 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.356, allocations: 326 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.3561, allocations: 75.33 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.77e-05/0.3561, allocations: 16.66 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.3562, allocations: 11.44 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.3562, allocations: 0 / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.004983/0.3612, allocations: 1.181 MB / 1.291 GB, free: 3.461 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.55759834870696]