Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002639/0.002639, allocations: 198.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 64.12 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.8685, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002618/0.8711, allocations: 1.292 MB / 1.275 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.8723, allocations: 0.615 MB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.8723, allocations: 3.938 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.8723, allocations: 0 / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.8723, allocations: 3.938 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.8729, allocations: 151.4 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.873, allocations: 19.94 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.873, allocations: 0 / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.8731, allocations: 11.92 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.8731, allocations: 8 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.8732, allocations: 3.938 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.8737, allocations: 347.3 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.8737, allocations: 3.938 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.8738, allocations: 4 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.874, allocations: 158.2 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8741, allocations: 0 / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8741, allocations: 4 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8741, allocations: 0 / 1.277 GB, free: 1.902 MB / 0.9669 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.000485/0.8745, allocations: 363.1 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8746, allocations: 11.97 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.8746, allocations: 8.938 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.8748, allocations: 164.3 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.8748, allocations: 384 / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.8748, allocations: 4.375 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.8749, allocations: 38.25 kB / 1.277 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8749, allocations: 4.188 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8749, allocations: 3.938 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.8749, allocations: 4 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.875, allocations: 11.92 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.8752, allocations: 157.7 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.8753, allocations: 42.56 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.8754, allocations: 16.84 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.8754, allocations: 4 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.8754, allocations: 34.56 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.8754, allocations: 0 / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000684/0.8761, allocations: 314.2 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.8762, allocations: 51.41 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.8762, allocations: 97.86 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.8762, allocations: 29.7 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.8763, allocations: 84.14 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.8763, allocations: 23.83 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.8764, allocations: 21.72 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8765, allocations: 310.8 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.8766, allocations: 16.05 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.8766, allocations: 12 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/0.8766, allocations: 28.86 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8766, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000117/0.8768, allocations: 77.72 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8768, allocations: 11.88 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8768, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.8768, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.8769, allocations: 15.98 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8769, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.8769, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.8769, allocations: 4 kB / 1.278 GB, free: 15.7 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 (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 0.0001063/0.877, allocations: 117.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.877, allocations: 7.938 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.8772, allocations: 77.52 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.8772, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8772, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8772, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.8776, allocations: 315.3 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8776, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.615e-05/0.8776, allocations: 11.98 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8776, allocations: 4.031 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8776, allocations: 8 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8776, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8776, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.8779, allocations: 182 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.8779, allocations: 89.12 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.8779, allocations: 0 / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.878, allocations: 8.062 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.878, allocations: 3.984 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-06/0.878, allocations: 8 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.8781, allocations: 75.8 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8781, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002615/0.8783, allocations: 19.94 kB / 1.279 GB, free: 14.68 MB / 0.9825 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.0002343/0.8786, allocations: 126.7 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.8787, allocations: 27.92 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8787, allocations: 8 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.8787, allocations: 15.98 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.879, allocations: 11.94 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.8795, allocations: 208 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.8799, allocations: 0.6807 MB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.88, allocations: 7.938 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.88, allocations: 11.44 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.88, allocations: 0 / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.003547/0.8835, allocations: 0.6714 MB / 1.281 GB, free: 12.89 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.957118391059339]