Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0007815/0.0007815, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001886, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007191/0.0007191, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009269/0.001646, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9111/0.9111, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08183/0.993, allocations: 53.66 MB / 243.3 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.88/1.88, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4609/2.341, allocations: 123.3 MB / 0.728 GB, free: 5.824 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.929e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001805/0.001824, allocations: 1.578 MB / 0.7309 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.002488, allocations: 0.6237 MB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.002513, allocations: 0.6562 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.002537, allocations: 5.938 kB / 0.7315 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.002565, allocations: 6.5 kB / 0.7315 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.002884, allocations: 161.7 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.002956, allocations: 52.66 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.002994, allocations: 7.984 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.003088, allocations: 36.64 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.003124, allocations: 17.64 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.003137, allocations: 4 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.003431, allocations: 267.4 kB / 0.732 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.003445, allocations: 8 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.003465, allocations: 15.94 kB / 0.7321 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.003665, allocations: 152.3 kB / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.003679, allocations: 0 / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00368, allocations: 0.5 kB / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.003692, allocations: 0 / 0.7322 GB, free: 1.621 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000388/0.00408, allocations: 317.9 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.004112, allocations: 8.031 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.004142, allocations: 12.94 kB / 0.7325 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.948e-05/0.004221, allocations: 114.6 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.004243, allocations: 8.312 kB / 0.7326 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.004261, allocations: 12.38 kB / 0.7327 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.004395, allocations: 126 kB / 0.7328 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.004404, allocations: 0.875 kB / 0.7328 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004415, allocations: 8.375 kB / 0.7328 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004419, allocations: 2.125 kB / 0.7328 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.004452, allocations: 19.92 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.004729, allocations: 208.1 kB / 0.733 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.591e-05/0.004824, allocations: 63.11 kB / 0.7331 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.004839, allocations: 9.859 kB / 0.7331 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.004857, allocations: 4 kB / 0.7331 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.004879, allocations: 35.03 kB / 0.7331 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.004881, allocations: 1.125 kB / 0.7331 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007022/0.005583, allocations: 454.7 kB / 0.7335 GB, free: 100 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.005609, allocations: 55.41 kB / 0.7336 GB, free: 32 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.005666, allocations: 102.7 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005679, allocations: 31.14 kB / 0.7337 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.005707, allocations: 96.02 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.005737, allocations: 43.61 kB / 0.7339 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.005768, allocations: 21.72 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.005843, allocations: 324.5 kB / 0.7342 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.005859, allocations: 8 kB / 0.7342 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.53e-05/0.005875, allocations: 11.98 kB / 0.7342 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.296e-05/0.005918, allocations: 40.77 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005919, allocations: 0.6562 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.647e-05/0.005995, allocations: 78.36 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.006007, allocations: 5.062 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.006013, allocations: 3.984 kB / 0.7343 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.006022, allocations: 4.844 kB / 0.7343 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.006108, allocations: 27.98 kB / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.006112, allocations: 3.938 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.006135, allocations: 9.25 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.00614, allocations: 0 / 0.7344 GB, free: 15.2 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 5.557e-05/0.006195, allocations: 114.9 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.006212, allocations: 11.92 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.006318, allocations: 81.84 kB / 0.7346 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00632, allocations: 0.5625 kB / 0.7346 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006322, allocations: 1.781 kB / 0.7346 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.006326, allocations: 7.938 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.006521, allocations: 242.7 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.006523, allocations: 0 / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.006596, allocations: 27.97 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.006602, allocations: 5.219 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006604, allocations: 0 / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.006609, allocations: 0 / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006611, allocations: 0.75 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006611, allocations: 3.938 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.006739, allocations: 195.9 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.006749, allocations: 0.75 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.00679, allocations: 4 kB / 0.735 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.006804, allocations: 9.109 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.006809, allocations: 4 kB / 0.7351 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.005e-05/0.006819, allocations: 8.859 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006819, allocations: 1.062 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001673/0.006987, allocations: 55.8 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0001677/0.007154, allocations: 134.6 kB / 0.7352 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.007232, allocations: 57.56 kB / 0.7353 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.007235, allocations: 0 / 0.7353 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.007259, allocations: 28.8 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.007396, allocations: 19.92 kB / 0.7353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.008329, allocations: 219.2 kB / 0.7356 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.008362, allocations: 63.34 kB / 0.7356 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.008402, allocations: 10.86 kB / 0.7356 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.008456, allocations: 72.39 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.008457, allocations: 0 / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.002961/0.01142, allocations: 1.558 MB / 0.7372 GB, free: 12.31 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.751789279282093]