Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001125/0.001125, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002786, allocations: 449.8 kB / 10.44 MB, free: 252 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.001101/0.001101, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002568, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9703/0.9703, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08165/1.052, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.725/1.725, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4146/2.14, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.062e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001443/0.001454, allocations: 1.377 MB / 0.731 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006226/0.002076, allocations: 0.6011 MB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.002094, allocations: 0 / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.045e-06/0.002102, allocations: 4.672 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.25e-05/0.002124, allocations: 1.375 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.002416, allocations: 146.1 kB / 0.7318 GB, free: 2.281 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.154e-05/0.002477, allocations: 26.66 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.142e-05/0.002509, allocations: 0.9062 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.002572, allocations: 16.58 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.805e-05/0.002621, allocations: 12.8 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.002631, allocations: 0 / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.002967, allocations: 331.2 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.00298, allocations: 1.406 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.002994, allocations: 7.938 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.003168, allocations: 123.7 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.003179, allocations: 0.5312 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00318, allocations: 0 / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.003191, allocations: 1.25 kB / 0.7323 GB, free: 1.781 MB / 0.698 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.000328/0.003519, allocations: 280.2 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.003546, allocations: 12.03 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003572, allocations: 2.219 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.003643, allocations: 117.7 kB / 0.7326 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.003652, allocations: 4.375 kB / 0.7327 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.003673, allocations: 4.875 kB / 0.7327 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/0.003742, allocations: 59.95 kB / 0.7327 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-06/0.003747, allocations: 5.719 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.003752, allocations: 384 / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003756, allocations: 384 / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.003775, allocations: 7.938 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.674e-05/0.003862, allocations: 65.7 kB / 0.7328 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.003986, allocations: 43.83 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.004003, allocations: 16.94 kB / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.004015, allocations: 0 / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.004036, allocations: 47.97 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004037, allocations: 0 / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000409/0.004446, allocations: 225.7 kB / 0.7331 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.004469, allocations: 56.69 kB / 0.7332 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.439e-05/0.004513, allocations: 98.72 kB / 0.7333 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.004523, allocations: 29.7 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.004545, allocations: 88.12 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.004569, allocations: 20.45 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.004592, allocations: 22.84 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.004662, allocations: 322.8 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.00467, allocations: 4 kB / 0.7337 GB, free: 108 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.004679, allocations: 4.969 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.004704, allocations: 20.84 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.004705, allocations: 0 / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.44e-05/0.004749, allocations: 58.14 kB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.004759, allocations: 10.09 kB / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.004766, allocations: 0 / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.004777, allocations: 0 / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.004824, allocations: 17.14 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.004827, allocations: 0 / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-06/0.004837, allocations: 3.938 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-06/0.00484, allocations: 1.219 kB / 0.7338 GB, free: 15.98 MB / 0.7136 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.024e-05/0.00488, allocations: 109.8 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.004887, allocations: 9.688 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.004954, allocations: 57.73 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.004955, allocations: 0 / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.004956, allocations: 4 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00496, allocations: 0 / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.005106, allocations: 212.3 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005106, allocations: 0 / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.00514, allocations: 16.67 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.00515, allocations: 4 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005151, allocations: 0.75 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005158, allocations: 8.188 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.00516, allocations: 10.06 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005161, allocations: 0 / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/0.00525, allocations: 156.6 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.005258, allocations: 0 / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.005291, allocations: 4.5 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.005303, allocations: 13.22 kB / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.005306, allocations: 0 / 0.7344 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.777e-06/0.005315, allocations: 12.84 kB / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005315, allocations: 0 / 0.7344 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001412/0.005456, allocations: 49.05 kB / 0.7345 GB, free: 15.27 MB / 0.7136 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.0001377/0.005594, allocations: 129.4 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.648e-05/0.00565, allocations: 32.83 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.005654, allocations: 0 / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.005678, allocations: 29.47 kB / 0.7347 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.005786, allocations: 16.59 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.006377, allocations: 152.6 kB / 0.7348 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.006405, allocations: 55.36 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.006424, allocations: 4 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.00646, allocations: 62.39 kB / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.006461, allocations: 0 / 0.7349 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.002468/0.008929, allocations: 1.111 MB / 0.736 GB, free: 13.73 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_12_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: 4.645768227986991]