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.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.001543/0.001543, 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.001608/0.001608, allocations: 213.7 kB / 22.25 MB, free: 4.852 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.611/1.611, allocations: 230.6 MB / 256 MB, free: 7.793 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.946/2.946, allocations: 476 MB / 0.7699 GB, free: 4.746 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_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: 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.002108/0.002108, allocations: 68.8 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4054, allocations: 169.9 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003209/0.4086, allocations: 1.3 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.4099, allocations: 0.5428 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.41, allocations: 4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.41, allocations: 3.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.4101, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.4109, allocations: 151 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.588e-05/0.411, allocations: 31.78 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.4111, allocations: 4 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.4111, allocations: 4 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.732e-05/0.4112, allocations: 11.92 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4112, allocations: 4 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.4117, allocations: 271.5 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.4117, allocations: 3.984 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.4118, allocations: 7.938 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.4121, allocations: 135.6 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4121, allocations: 4 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4121, allocations: 0 / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4121, allocations: 0 / 1.285 GB, free: 9.418 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005372/0.4127, allocations: 289.9 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4127, allocations: 8.031 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.4127, allocations: 8.938 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4129, allocations: 110.5 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4129, allocations: 384 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4129, allocations: 4.375 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.4131, allocations: 67.95 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4131, allocations: 192 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.4131, allocations: 3.938 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4131, allocations: 0 / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.4132, allocations: 7.938 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.4133, allocations: 113.3 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.4136, allocations: 42.59 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.4136, allocations: 20.86 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4136, allocations: 0 / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4137, allocations: 30.56 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.4137, allocations: 0 / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0007044/0.4144, allocations: 249.1 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4144, allocations: 55.34 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.4145, allocations: 93.86 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.4145, allocations: 29.7 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.4146, allocations: 84.14 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4146, allocations: 23.84 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.4147, allocations: 21.72 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4149, allocations: 318.8 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.521e-05/0.4149, allocations: 12 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.4149, allocations: 8 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/0.415, allocations: 32.84 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.415, allocations: 64 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001241/0.4151, allocations: 73.62 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4151, allocations: 7.984 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4151, allocations: 3.938 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4152, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.4152, allocations: 15.94 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4152, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.4152, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4153, allocations: 4 kB / 1.287 GB, free: 7.5 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.0001027/0.4154, allocations: 111.6 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.4154, allocations: 7.953 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.4155, allocations: 77.61 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4155, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4155, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.4156, allocations: 4 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.4159, allocations: 263.1 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.4159, allocations: 3.938 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.416, allocations: 8 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.416, allocations: 4 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.416, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.416, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.416, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.4162, allocations: 176.6 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4163, allocations: 19.86 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4163, allocations: 3.984 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.4163, allocations: 288 / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.4164, allocations: 12 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4164, allocations: 4.453 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.4164, allocations: 87.27 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4164, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002641/0.4167, allocations: 23.88 kB / 1.288 GB, free: 6.637 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.0002086/0.4169, allocations: 119.2 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.417, allocations: 39.91 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.417, allocations: 0 / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.4171, allocations: 16 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.4173, allocations: 8.078 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.4178, allocations: 196.4 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.4179, allocations: 67.34 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.4179, allocations: 4 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.4179, allocations: 11.38 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/0.4179, allocations: 0 / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of Templates: time 0.003578/0.4215, allocations: 0.6474 MB / 1.289 GB, free: 5.516 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 -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.381687937304378]