Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.0007653/0.0007653, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001818, 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.0006954/0.0006954, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009492/0.001645, 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.9503/0.9503, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08418/1.034, allocations: 53.65 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.777/1.777, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4225/2.2, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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_dp_inv_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_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.648e-06/1.109e-05, allocations: 7.5 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001396/0.001407, allocations: 1.399 MB / 0.731 GB, free: 3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.002002, allocations: 0.6187 MB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.544e-05/0.002017, allocations: 0.5469 kB / 0.7316 GB, free: 2.395 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.464e-06/0.002025, allocations: 3.984 kB / 0.7317 GB, free: 2.391 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.905e-05/0.002044, allocations: 7.641 kB / 0.7317 GB, free: 2.387 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.002323, allocations: 155 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.00238, allocations: 29.64 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.002413, allocations: 7.984 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.845e-05/0.002461, allocations: 23.97 kB / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.002516, allocations: 8.594 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.002526, allocations: 0.6875 kB / 0.7319 GB, free: 2.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.002856, allocations: 327.3 kB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.002869, allocations: 4.5 kB / 0.7322 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.002885, allocations: 12.5 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.003059, allocations: 139.6 kB / 0.7323 GB, free: 1.711 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.00307, allocations: 4.656 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00307, allocations: 0.6875 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.003079, allocations: 3.938 kB / 0.7323 GB, free: 1.703 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.0003062/0.003385, allocations: 281.3 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.003413, allocations: 12.03 kB / 0.7326 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.58e-05/0.003439, allocations: 8.859 kB / 0.7326 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.423e-05/0.003503, allocations: 106.9 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.003513, allocations: 8.375 kB / 0.7327 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.003538, allocations: 14.03 kB / 0.7328 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.005e-05/0.003628, allocations: 105.6 kB / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.003635, allocations: 192 / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.003641, allocations: 384 / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.003644, allocations: 384 / 0.7329 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.003668, allocations: 16.69 kB / 0.7329 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.581e-05/0.003744, allocations: 69.05 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.869e-05/0.003813, allocations: 51.11 kB / 0.733 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.00383, allocations: 18.55 kB / 0.733 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.003845, allocations: 4 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.003862, allocations: 30.56 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 5.61e-07/0.003862, allocations: 0 / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006677/0.00453, allocations: 439.4 kB / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.004551, allocations: 51.41 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.468e-05/0.004595, allocations: 107.9 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.004605, allocations: 29.7 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.004665, allocations: 88.12 kB / 0.7337 GB, free: 112 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.004692, allocations: 36.31 kB / 0.7338 GB, free: 76 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.00472, allocations: 29.69 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.00479, allocations: 316 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.004805, allocations: 15.98 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.004818, allocations: 12 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.004857, allocations: 40.55 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.004858, allocations: 0 / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 5.822e-05/0.004916, allocations: 66.2 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.004926, allocations: 6.125 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.00493, allocations: 0 / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.004938, allocations: 0.5312 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.005002, allocations: 31.98 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.005006, allocations: 9.5 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.005017, allocations: 0 / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005021, allocations: 0 / 0.7343 GB, free: 15.54 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 4.429e-05/0.005066, allocations: 119 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.005073, allocations: 7.938 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.789e-05/0.005161, allocations: 81.86 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005163, allocations: 5.062 kB / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005164, allocations: 0 / 0.7345 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005168, allocations: 3.938 kB / 0.7345 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.005343, allocations: 231.8 kB / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005344, allocations: 0 / 0.7347 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.005405, allocations: 23.98 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.00541, allocations: 4.453 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.005412, allocations: 8.734 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.005418, allocations: 3.938 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005419, allocations: 4.688 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.00542, allocations: 3.984 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.005529, allocations: 180.2 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.005539, allocations: 7.984 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.005577, allocations: 5.438 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.00559, allocations: 7.922 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.005597, allocations: 8 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.345e-06/0.005605, allocations: 6.109 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005605, allocations: 0 / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001558/0.005761, allocations: 63.73 kB / 0.735 GB, free: 14.73 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.0001623/0.005923, allocations: 157.3 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/0.005994, allocations: 56.72 kB / 0.7352 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.005999, allocations: 1.25 kB / 0.7352 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.006027, allocations: 36.77 kB / 0.7352 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.00613, allocations: 13.02 kB / 0.7353 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.006993, allocations: 180 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.007024, allocations: 68.22 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.007053, allocations: 8 kB / 0.7355 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.007098, allocations: 63.36 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.007099, allocations: 0 / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.002647/0.009746, allocations: 1.572 MB / 0.7371 GB, free: 12.67 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.5179930264130235]