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_DerivativeCheck2.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.001089/0.001089, allocations: 76.17 kB / 9.9 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002604, allocations: 445.7 kB / 10.34 MB, free: 364 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.001093/0.001093, allocations: 149.2 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.002038, allocations: 471.6 kB / 11.68 MB, free: 2.488 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/1.086, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.812/1.812, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4609/2.273, allocations: 123.3 MB / 0.728 GB, free: 5.809 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.124e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.002285/0.002307, allocations: 1.404 MB / 0.7307 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.003278, allocations: 0.5878 MB / 0.7312 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.133e-05/0.0033, allocations: 1.5 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.003316, allocations: 3.938 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.979e-05/0.003346, allocations: 6.406 kB / 0.7313 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.003851, allocations: 149.5 kB / 0.7314 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.181e-05/0.003923, allocations: 34.22 kB / 0.7314 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.003965, allocations: 3.938 kB / 0.7314 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.228e-05/0.004027, allocations: 24.84 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.004093, allocations: 7.984 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.004106, allocations: 1.438 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.00463, allocations: 331.3 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.004647, allocations: 7.938 kB / 0.7318 GB, free: 2.004 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.004664, allocations: 4 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.004923, allocations: 136.3 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.004935, allocations: 0 / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004936, allocations: 0.6875 kB / 0.7319 GB, free: 1.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.004951, allocations: 3.938 kB / 0.7319 GB, free: 1.863 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004186/0.005369, allocations: 288.7 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.005405, allocations: 13.81 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.005443, allocations: 4.938 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.005538, allocations: 121.7 kB / 0.7323 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005552, allocations: 4.375 kB / 0.7323 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.005581, allocations: 9.141 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.005697, allocations: 97.64 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.005709, allocations: 5.391 kB / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005717, allocations: 384 / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005723, allocations: 384 / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.005758, allocations: 19.92 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.005868, allocations: 61.92 kB / 0.7325 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/0.005968, allocations: 55.44 kB / 0.7326 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.005994, allocations: 16.84 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.006012, allocations: 4.562 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.006039, allocations: 34.56 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.006041, allocations: 1.625 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.004111/0.01015, allocations: 433.7 kB / 0.7331 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.01018, allocations: 52.38 kB / 0.7331 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.01024, allocations: 106.6 kB / 0.7332 GB, free: 396 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.01026, allocations: 30.36 kB / 0.7332 GB, free: 360 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.01028, allocations: 80.14 kB / 0.7333 GB, free: 276 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01033, allocations: 44.22 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.01037, allocations: 26.73 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01047, allocations: 318.8 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.0105, allocations: 8 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.01052, allocations: 16.67 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.01058, allocations: 40.81 kB / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01058, allocations: 1.781 kB / 0.7337 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.345e-05/0.01067, allocations: 68.31 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01069, allocations: 8 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01069, allocations: 3.984 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.0107, allocations: 0 / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.0108, allocations: 25.22 kB / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.0108, allocations: 0 / 0.7338 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.01082, allocations: 3.938 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.01083, allocations: 14.05 kB / 0.7339 GB, free: 15.69 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 (13): * Single equations (assignments): 13 * 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 6.457e-05/0.01089, allocations: 113.8 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.01091, allocations: 8 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.01105, allocations: 77.81 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01106, allocations: 0 / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01106, allocations: 0.75 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01107, allocations: 4 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.01108, allocations: 12.7 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.01109, allocations: 0 / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.01114, allocations: 8.656 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.01115, allocations: 3.984 kB / 0.7341 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001546/0.01131, allocations: 158.7 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001965/0.0115, allocations: 255 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.195e-05/0.01155, allocations: 24.84 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.309e-05/0.01156, allocations: 10.12 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of Backend: time 2.91e-07/0.01156, allocations: 0 / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003483/0.01504, allocations: 177 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0007107/0.01575, allocations: 0.6988 MB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.007883/0.02364, allocations: 1.842 MB / 0.7372 GB, free: 12.37 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.789252853952348]