Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.00141/0.00141, allocations: 81.47 kB / 19.76 MB, free: 2.02 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.001548/0.001548, allocations: 153.3 kB / 23 MB, free: 4.969 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.513/1.513, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.818/2.818, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.002075/0.002075, allocations: 63.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122/1.124, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002585/1.127, allocations: 1.292 MB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000967/1.128, allocations: 0.5294 MB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/1.128, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/1.128, allocations: 3.938 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/1.128, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/1.129, allocations: 150.8 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.791e-05/1.129, allocations: 15.81 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/1.129, allocations: 6.688 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/1.129, allocations: 14.5 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/1.129, allocations: 12.53 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/1.129, allocations: 3.938 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/1.129, allocations: 267.7 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/1.129, allocations: 4 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/1.129, allocations: 6.188 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/1.129, allocations: 139.9 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.129, allocations: 3.938 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.575e-06/1.129, allocations: 0 / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.13, allocations: 2.812 kB / 1.156 GB, free: 31.86 MB / 1.076 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.0004114/1.13, allocations: 288 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.13, allocations: 8.812 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/1.13, allocations: 3.688 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/1.13, allocations: 109 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.13, allocations: 384 / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/1.13, allocations: 6.812 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/1.13, allocations: 66.2 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/1.13, allocations: 192 / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.13, allocations: 3.938 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.13, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/1.13, allocations: 18.02 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/1.13, allocations: 108.9 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/1.131, allocations: 46.55 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/1.131, allocations: 20.64 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/1.131, allocations: 0 / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/1.131, allocations: 30.56 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/1.131, allocations: 2.812 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0005673/1.131, allocations: 240.4 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/1.131, allocations: 55.34 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/1.131, allocations: 99.64 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/1.131, allocations: 32.3 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/1.131, allocations: 80.14 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/1.131, allocations: 22.34 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/1.131, allocations: 22.88 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/1.131, allocations: 313.6 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.344e-05/1.132, allocations: 13.03 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/1.132, allocations: 6 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.05e-05/1.132, allocations: 37.86 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/1.132, allocations: 0 / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.003e-05/1.132, allocations: 64.17 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.132, allocations: 12.34 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.132, allocations: 10.78 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.132, allocations: 0 / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/1.132, allocations: 12.5 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.132, allocations: 64 / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/1.132, allocations: 6.812 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/1.132, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 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.457e-05/1.132, allocations: 116.3 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/1.132, allocations: 6.922 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/1.132, allocations: 77.33 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.132, allocations: 7.375 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.132, allocations: 0 / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/1.132, allocations: 2.688 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/1.132, allocations: 257.1 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.132, allocations: 7.875 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.756e-05/1.132, allocations: 8.469 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/1.132, allocations: 2.75 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/1.132, allocations: 0 / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.132, allocations: 2.828 kB / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.132, allocations: 0 / 1.158 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/1.132, allocations: 180.5 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/1.132, allocations: 16.47 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/1.132, allocations: 4 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/1.133, allocations: 3.203 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/1.133, allocations: 7.031 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/1.133, allocations: 2.938 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.464e-05/1.133, allocations: 82.27 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.133, allocations: 0 / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002375/1.133, allocations: 30.19 kB / 1.159 GB, free: 29.5 MB / 1.076 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.0001611/1.133, allocations: 115.7 kB / 1.159 GB, free: 29.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001137/1.133, allocations: 32.55 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.133, allocations: 6.656 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/1.133, allocations: 22.36 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/1.133, allocations: 5.766 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004114/1.134, allocations: 188.7 kB / 1.159 GB, free: 29.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/1.134, allocations: 66.72 kB / 1.159 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.746e-05/1.134, allocations: 2.625 kB / 1.159 GB, free: 29.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/1.134, allocations: 15.03 kB / 1.159 GB, free: 29.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.134, allocations: 2.625 kB / 1.159 GB, free: 29.13 MB / 1.076 GB Notification: Performance of Templates: time 0.003351/1.137, allocations: 0.6244 MB / 1.16 GB, free: 29.05 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.380646008998156]