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.001409/0.001409, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001421/0.001421, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.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.765/2.765, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 177] 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.002597/0.002597, allocations: 67.89 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00247/1.061, allocations: 1.3 MB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001037/1.062, allocations: 0.6146 MB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/1.062, allocations: 0 / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/1.062, allocations: 2.062 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/1.062, allocations: 4.453 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/1.063, allocations: 143.3 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.073e-05/1.063, allocations: 19.33 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/1.063, allocations: 7.5 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/1.063, allocations: 7.969 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/1.063, allocations: 15.86 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/1.063, allocations: 0.7188 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/1.063, allocations: 343.1 kB / 1.274 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/1.063, allocations: 11.08 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/1.063, allocations: 4.125 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/1.064, allocations: 156.9 kB / 1.275 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.064, allocations: 0 / 1.275 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/1.064, allocations: 0.8125 kB / 1.275 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.064, allocations: 0 / 1.275 GB, free: 6.316 MB / 0.9981 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.0003748/1.064, allocations: 364.6 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.064, allocations: 10.45 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/1.064, allocations: 10.48 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/1.064, allocations: 162.5 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.064, allocations: 6.188 kB / 1.275 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/1.064, allocations: 6.984 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/1.064, allocations: 43.84 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.064, allocations: 192 / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/1.064, allocations: 5.031 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.064, allocations: 0 / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.043e-05/1.064, allocations: 12.67 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/1.065, allocations: 159.3 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/1.065, allocations: 38.73 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/1.065, allocations: 19.7 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/1.065, allocations: 4.938 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/1.065, allocations: 31.69 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.065, allocations: 4 kB / 1.275 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0006055/1.065, allocations: 311.2 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/1.065, allocations: 52.98 kB / 1.276 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.843e-05/1.065, allocations: 98.28 kB / 1.276 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/1.065, allocations: 29.7 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/1.065, allocations: 81.39 kB / 1.276 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.065, allocations: 18.45 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/1.066, allocations: 29.09 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/1.066, allocations: 311.8 kB / 1.276 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/1.066, allocations: 12.81 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/1.066, allocations: 12.28 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.738e-05/1.066, allocations: 32.58 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.066, allocations: 0 / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.641e-05/1.066, allocations: 71.92 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.066, allocations: 11.81 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.066, allocations: 0.75 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.066, allocations: 4.781 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/1.066, allocations: 11.05 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.066, allocations: 1.594 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/1.066, allocations: 3.938 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/1.066, allocations: 2.25 kB / 1.276 GB, free: 4.379 MB / 0.9981 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 5.307e-05/1.066, allocations: 120.8 kB / 1.277 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.066, allocations: 6.109 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/1.066, allocations: 72.83 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.066, allocations: 0.875 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.066, allocations: 5.422 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.066, allocations: 6.094 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/1.066, allocations: 319.4 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.066, allocations: 2.516 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/1.066, allocations: 9.828 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.066, allocations: 1.219 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.066, allocations: 2.484 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.066, allocations: 1 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.066, allocations: 5.406 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/1.067, allocations: 178.5 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/1.067, allocations: 86.2 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/1.067, allocations: 2.969 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/1.067, allocations: 1.094 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/1.067, allocations: 4.109 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/1.067, allocations: 2.344 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.071e-05/1.067, allocations: 87.7 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.067, allocations: 0 / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002485/1.067, allocations: 19.31 kB / 1.277 GB, free: 3.508 MB / 0.9981 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.0001727/1.067, allocations: 127.1 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001236/1.067, allocations: 29.56 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/1.067, allocations: 0.5625 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/1.067, allocations: 23.92 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/1.068, allocations: 10.44 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/1.068, allocations: 215.4 kB / 1.278 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/1.068, allocations: 0.6834 MB / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.106e-05/1.068, allocations: 4.891 kB / 1.278 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/1.068, allocations: 10.81 kB / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.068, allocations: 0 / 1.278 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of Templates: time 0.003513/1.072, allocations: 0.6753 MB / 1.279 GB, free: 2.422 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.231139899231493]