Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0008588/0.0008588, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001989, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001383/0.001383, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002671, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9744/0.9744, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09927/1.074, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.391/2.391, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2589/2.65, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.819 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.717e-05, allocations: 2.312 kB / 0.819 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001577/0.001594, allocations: 1.415 MB / 0.8204 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.002225, allocations: 0.5875 MB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.002246, allocations: 0 / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.853e-06/0.002253, allocations: 4 kB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.002276, allocations: 7.984 kB / 0.821 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.002594, allocations: 151.2 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.002659, allocations: 27.86 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.002696, allocations: 3.984 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.308e-05/0.002769, allocations: 12 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.002831, allocations: 11.92 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.002842, allocations: 0 / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.00323, allocations: 323.3 kB / 0.8215 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.003249, allocations: 4 kB / 0.8215 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.003265, allocations: 4 kB / 0.8215 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.003474, allocations: 131.6 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.00349, allocations: 7.984 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00349, allocations: 0 / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.003507, allocations: 0 / 0.8216 GB, free: 15.77 MB / 0.8073 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.0003811/0.003888, allocations: 276.2 kB / 0.8219 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.003917, allocations: 8.031 kB / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.003947, allocations: 8.938 kB / 0.8219 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.004029, allocations: 113.7 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.004037, allocations: 4.375 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.00406, allocations: 8.328 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.319e-05/0.004134, allocations: 63.94 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.004139, allocations: 192 / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004146, allocations: 4.375 kB / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.004151, allocations: 384 / 0.8221 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.004172, allocations: 15.94 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.118e-05/0.004253, allocations: 61.05 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.00438, allocations: 38.48 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.0044, allocations: 20.86 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.004415, allocations: 96 / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.004434, allocations: 34.55 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 6.01e-07/0.004435, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004296/0.004865, allocations: 233.2 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.004888, allocations: 55.34 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.004935, allocations: 107 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.004943, allocations: 25.7 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.004967, allocations: 80.14 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.004992, allocations: 27.84 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.005016, allocations: 17.7 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.005088, allocations: 318.8 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.005097, allocations: 7.984 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.005106, allocations: 4 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.00514, allocations: 24.83 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005141, allocations: 0 / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.842e-05/0.00519, allocations: 53.62 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005201, allocations: 8 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005205, allocations: 0 / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.005216, allocations: 0 / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.005254, allocations: 19.98 kB / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.005256, allocations: 0 / 0.8232 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.005267, allocations: 3.938 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.00527, allocations: 0 / 0.8232 GB, free: 13.96 MB / 0.8073 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 4.503e-05/0.005315, allocations: 113.8 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.00532, allocations: 0 / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.005395, allocations: 69.62 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.005396, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005397, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.0054, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.005559, allocations: 211.6 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00556, allocations: 0 / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.005596, allocations: 20.11 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.005607, allocations: 8 kB / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005609, allocations: 0 / 0.8236 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.005615, allocations: 7.938 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.005617, allocations: 7.938 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005618, allocations: 0 / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/0.005716, allocations: 160.4 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-06/0.005724, allocations: 0 / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.005757, allocations: 4.062 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.00577, allocations: 15.86 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005774, allocations: 0 / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.054e-05/0.005784, allocations: 12.86 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005784, allocations: 0 / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000157/0.005941, allocations: 39.8 kB / 0.8238 GB, free: 13.24 MB / 0.8073 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.0001573/0.006098, allocations: 128.2 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.006165, allocations: 33.08 kB / 0.824 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.00617, allocations: 3.984 kB / 0.824 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.006191, allocations: 28.73 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.00631, allocations: 8 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.006998, allocations: 157.3 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.007033, allocations: 61.73 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.007056, allocations: 4 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.007101, allocations: 63.45 kB / 0.8243 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.007101, allocations: 0 / 0.8243 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of Templates: time 0.002438/0.009539, allocations: 1.103 MB / 0.8254 GB, free: 11.64 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.183869822882116]