Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001945/0.001945, allocations: 113 kB / 17.6 MB, free: 4.684 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.00235/0.00235, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.505/1.505, allocations: 225.6 MB / 249.4 MB, free: 3.137 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.77/2.77, allocations: 476.7 MB / 0.7629 GB, free: 15.16 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 60.14 kB / 1.107 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002361/1.05, allocations: 1.289 MB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001006/1.051, allocations: 0.611 MB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/1.051, allocations: 1 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/1.051, allocations: 0.5625 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/1.051, allocations: 13.47 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/1.051, allocations: 141.5 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/1.052, allocations: 18.95 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/1.052, allocations: 9.375 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/1.052, allocations: 7.438 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/1.052, allocations: 7.281 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/1.052, allocations: 1.75 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/1.052, allocations: 344.9 kB / 1.274 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/1.052, allocations: 10.31 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/1.052, allocations: 7.078 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/1.053, allocations: 146.3 kB / 1.275 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.053, allocations: 3.938 kB / 1.275 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/1.053, allocations: 0 / 1.275 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.611e-06/1.053, allocations: 0 / 1.275 GB, free: 6.336 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.0003992/1.053, allocations: 364 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.053, allocations: 9.375 kB / 1.275 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/1.053, allocations: 6.953 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.053, allocations: 169.3 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/1.053, allocations: 1.5 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/1.053, allocations: 7.359 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.053, allocations: 41.78 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/1.053, allocations: 192 / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.053, allocations: 3.938 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.053, allocations: 1 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/1.053, allocations: 14.5 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/1.053, allocations: 161.2 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/1.054, allocations: 40.28 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/1.054, allocations: 17.91 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/1.054, allocations: 0.9688 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/1.054, allocations: 36.06 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/1.054, allocations: 0 / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0005892/1.054, allocations: 310.3 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/1.054, allocations: 56.06 kB / 1.276 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/1.054, allocations: 99.55 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/1.054, allocations: 26.3 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.835e-05/1.054, allocations: 80.89 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/1.054, allocations: 21.23 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/1.055, allocations: 23.7 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/1.055, allocations: 313.6 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/1.055, allocations: 15.89 kB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/1.055, allocations: 16.02 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.878e-05/1.055, allocations: 30.8 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.055, allocations: 0 / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.917e-05/1.055, allocations: 70.95 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.055, allocations: 10.88 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.055, allocations: 1.297 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.055, allocations: 0 / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/1.055, allocations: 11.81 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/1.055, allocations: 5 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/1.055, allocations: 4.812 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/1.055, allocations: 2.281 kB / 1.276 GB, free: 4.402 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.356e-05/1.055, allocations: 116.1 kB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/1.055, allocations: 8.312 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/1.055, allocations: 74.77 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.055, allocations: 0.8438 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.055, allocations: 5.844 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.055, allocations: 0 / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/1.055, allocations: 326.5 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.055, allocations: 4.875 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/1.055, allocations: 13.12 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.055, allocations: 0.7812 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/1.055, allocations: 1.719 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.055, allocations: 0.7188 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.055, allocations: 0.9062 kB / 1.277 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/1.056, allocations: 178.2 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/1.056, allocations: 80.58 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/1.056, allocations: 2.438 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/1.056, allocations: 1.156 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/1.056, allocations: 11.83 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/1.056, allocations: 4.594 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.147e-05/1.056, allocations: 77.41 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.056, allocations: 0.625 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002556/1.056, allocations: 23.08 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001808/1.056, allocations: 128.2 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001145/1.056, allocations: 30.5 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.056, allocations: 4.875 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/1.056, allocations: 10.98 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/1.057, allocations: 11.48 kB / 1.277 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/1.057, allocations: 218.7 kB / 1.278 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/1.057, allocations: 0.6785 MB / 1.278 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.859e-05/1.057, allocations: 9.125 kB / 1.278 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/1.057, allocations: 15.09 kB / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/1.057, allocations: 0 / 1.278 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of Templates: time 0.003218/1.06, allocations: 0.6425 MB / 1.279 GB, free: 2.453 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.170341744087636]