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.001331/0.001331, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001476/0.001476, allocations: 210.8 kB / 23 MB, free: 4.934 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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.002048/0.002048, allocations: 72.7 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3056, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002503/0.3081, allocations: 1.295 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3092, allocations: 0.5371 MB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.3092, allocations: 4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.3092, allocations: 0 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.3093, allocations: 7.922 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.3098, allocations: 144.4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.3099, allocations: 19.94 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.3099, allocations: 11.97 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.31, allocations: 11.94 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.31, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.31, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.3105, allocations: 287.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.3105, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.3105, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3108, allocations: 139.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3108, allocations: 4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3108, allocations: 0 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3108, allocations: 0 / 1.329 GB, free: 14.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004306/0.3112, allocations: 290 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3113, allocations: 12.03 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.3113, allocations: 0.9375 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3114, allocations: 110.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.3114, allocations: 384 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3114, allocations: 4.312 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3116, allocations: 71.89 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3116, allocations: 4.125 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3116, allocations: 7.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3116, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.3116, allocations: 15.98 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.3118, allocations: 109.3 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.312, allocations: 42.55 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.902e-05/0.312, allocations: 20.94 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.312, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3121, allocations: 38.56 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3121, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0006041/0.3127, allocations: 233.1 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3127, allocations: 55.41 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.3128, allocations: 101.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3128, allocations: 25.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.3128, allocations: 80.14 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.3129, allocations: 27.78 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3129, allocations: 17.72 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3131, allocations: 310.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.3131, allocations: 15.98 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.3131, allocations: 12 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.3132, allocations: 32.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3132, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001161/0.3133, allocations: 65.67 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3133, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3133, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3133, allocations: 3.938 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.3134, allocations: 11.98 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3134, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.3134, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3134, allocations: 240 / 1.331 GB, free: 12.6 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 (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 8.268e-05/0.3135, allocations: 118.3 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.3135, allocations: 7.953 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.3137, allocations: 81.59 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3137, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3137, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.3137, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3137, allocations: 11.94 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.3138, allocations: 3.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.3138, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001765/0.314, allocations: 148.9 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002373/0.3142, allocations: 250.9 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.23e-05/0.3142, allocations: 20.08 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.3143, allocations: 83.28 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of Backend: time 3.2e-07/0.3143, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3148, allocations: 161.1 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005991/0.3154, allocations: 0.6246 MB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of Templates: time 0.004177/0.3196, allocations: 1.328 MB / 1.334 GB, free: 9.723 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 8.549937746996875]