Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001901/0.001901, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002335/0.002335, allocations: 164.9 kB / 23.01 MB, free: 4.598 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.919/2.919, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00312/0.00312, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.9387, allocations: 181.8 MB / 1.187 GB, free: 16.26 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002007/0.9407, allocations: 1.297 MB / 1.188 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008493/0.9416, allocations: 0.5324 MB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.9416, allocations: 3.938 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.9416, allocations: 4.453 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.148e-05/0.9417, allocations: 6.031 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.9421, allocations: 141.4 kB / 1.189 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.9422, allocations: 19.62 kB / 1.189 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.9422, allocations: 2.109 kB / 1.189 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.373e-05/0.9423, allocations: 10.78 kB / 1.189 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.9423, allocations: 16.92 kB / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.9423, allocations: 0 / 1.189 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.9428, allocations: 267.8 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.9428, allocations: 1.922 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.9428, allocations: 8.391 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.9431, allocations: 139.7 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9431, allocations: 1.344 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9431, allocations: 4 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.9431, allocations: 3.938 kB / 1.189 GB, free: 14.81 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.0003167/0.9434, allocations: 280.3 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.9434, allocations: 10.03 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.9435, allocations: 11.11 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.9435, allocations: 112.8 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.9435, allocations: 2.312 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.9436, allocations: 2.562 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.9437, allocations: 65.33 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9437, allocations: 2.016 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.9437, allocations: 7.938 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9437, allocations: 0.8438 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/0.9437, allocations: 8.234 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.9438, allocations: 112.2 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.944, allocations: 39.8 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.944, allocations: 16.62 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.9441, allocations: 1.125 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.9441, allocations: 33.38 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9441, allocations: 0 / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004976/0.9446, allocations: 240.3 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.9446, allocations: 57.02 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.901e-05/0.9446, allocations: 99.94 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.9446, allocations: 26.52 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.339e-05/0.9447, allocations: 81.97 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.9447, allocations: 19.23 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.9447, allocations: 21.09 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.9447, allocations: 318.1 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.9448, allocations: 11.03 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.9448, allocations: 20.66 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.9448, allocations: 29.22 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.9448, allocations: 4 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.378e-05/0.9449, allocations: 68.53 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9449, allocations: 5.781 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.9449, allocations: 9.344 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.945, allocations: 0 / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.945, allocations: 15.86 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.945, allocations: 0.7969 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.945, allocations: 1.094 kB / 1.191 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.945, allocations: 1.25 kB / 1.191 GB, free: 13.17 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 3.951e-05/0.9451, allocations: 113.2 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.9451, allocations: 10.97 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.9452, allocations: 80.94 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9452, allocations: 0 / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.9452, allocations: 1.375 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9452, allocations: 0.5156 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.9454, allocations: 257 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9454, allocations: 5.312 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.9455, allocations: 14.86 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.9455, allocations: 1.703 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.9455, allocations: 1.125 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.9455, allocations: 5.312 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9455, allocations: 0.5625 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.9456, allocations: 177.2 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.9457, allocations: 13.86 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.9457, allocations: 1.125 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.9457, allocations: 1.781 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.9458, allocations: 8.672 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.9458, allocations: 2.219 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.9e-05/0.9458, allocations: 83.05 kB / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9458, allocations: 0 / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002419/0.946, allocations: 23.91 kB / 1.191 GB, free: 12.46 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.0001351/0.9462, allocations: 118 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.9463, allocations: 34.92 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.9463, allocations: 1.156 kB / 1.192 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.718e-05/0.9463, allocations: 20.19 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.9465, allocations: 12.86 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.9469, allocations: 201.5 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.9469, allocations: 72.42 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.9469, allocations: 4.953 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.947, allocations: 11.78 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.947, allocations: 0 / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of Templates: time 0.003318/0.9503, allocations: 0.6229 MB / 1.192 GB, free: 12 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.033119130064733]